/* =====================================================
   ESTADO DE CUENTA WAWALAND
===================================================== */

.wawaland-account-status {
    width: 100%;

    max-width: 760px;

    margin:
        0 auto 28px;
}


/* =====================================================
   CARD GENERAL
===================================================== */

.account-role-card {
    position: relative;

    display: flex;

    align-items: center;

    gap: 16px;

    padding: 18px 20px;

    border-radius: 16px;

    border: 1px solid #e5e7eb;

    background: #ffffff;

    box-shadow:
        0 6px 20px
        rgba(15, 23, 42, .06);
}


.account-role-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    font-size: 22px;
}


.account-role-content {
    min-width: 0;

    flex: 1;
}


.account-role-title {
    display: flex;

    align-items: center;

    gap: 7px;

    color: #111827;

    font-size: 18px;

    font-weight: 800;
}


.account-role-description {
    margin-top: 3px;

    color: #6b7280;

    font-size: 13px;

    line-height: 1.45;
}


/* =====================================================
   PROVEEDOR VERIFICADO
===================================================== */

.account-provider-verified {
    border-color: #b8ead3;

    background:
        linear-gradient(
            135deg,
            #ffffff 0%,
            #effbf5 100%
        );
}


.account-provider-verified
.account-role-icon {
    background: #dcfce7;

    color: #16a34a;
}


.verified-check {
    width: 21px;
    height: 21px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #16a34a;

    color: #ffffff;

    font-size: 11px;
}


.account-role-badge {
    padding: 6px 11px;

    border-radius: 20px;

    background: #16a34a;

    color: #ffffff;

    font-size: 10px;

    font-weight: 900;

    letter-spacing: .5px;
}


/* =====================================================
   PROVEEDOR NO VERIFICADO
===================================================== */

.account-provider-pending {
    border-color: #fed7aa;

    background: #fffaf5;
}


.account-provider-pending
.account-role-icon {
    background: #ffedd5;

    color: #f97316;
}


.account-verification-link {
    display: inline-flex;

    align-items: center;

    gap: 6px;

    padding: 8px 12px;

    border: 1px solid #f97316;

    border-radius: 20px;

    color: #f97316;

    font-size: 12px;

    font-weight: 700;

    text-decoration: none;
}


.account-verification-link:hover {
    background: #f97316;

    color: #ffffff;
}


/* =====================================================
   ADMIN

   MÁS DISCRETO, COMO PEDISTE
===================================================== */

.account-admin {
    padding-top: 14px;
    padding-bottom: 14px;

    border-color: #dbe4f0;

    background: #f8fafc;
}


.account-admin
.account-role-icon {
    width: 44px;
    height: 44px;

    flex-basis: 44px;

    background: #e8eef7;

    color: #334155;

    font-size: 18px;
}


.account-admin
.account-role-title {
    font-size: 16px;
}


.account-admin-badge {
    padding: 5px 9px;

    border-radius: 6px;

    background: #334155;

    color: #ffffff;

    font-size: 9px;

    font-weight: 800;

    letter-spacing: .6px;
}


/* =====================================================
   CLIENTE
===================================================== */

.account-client {
    border-color: #dbeafe;

    background:
        linear-gradient(
            135deg,
            #ffffff,
            #f0f8ff
        );
}


.account-client
.account-role-icon {
    background: #e0f2fe;

    color: #0284c7;
}


.account-client-badge {
    padding: 6px 11px;

    border-radius: 20px;

    background: #0284c7;

    color: #ffffff;

    font-size: 10px;

    font-weight: 800;
}


/* =====================================================
   ESTADO CUENTA / CORREO
===================================================== */

.account-email-status {
    display: flex;

    justify-content: flex-end;

    margin-top: 8px;

    padding-right: 6px;
}


.account-email-status span {
    display: inline-flex;

    align-items: center;

    gap: 5px;

    font-size: 11px;

    font-weight: 700;
}


.account-email-ok {
    color: #16a34a;
}


.account-email-pending {
    color: #f59e0b;
}


/* =====================================================
   CELULAR
===================================================== */

@media (
    max-width: 576px
) {

    .account-role-card {
        align-items: flex-start;

        flex-wrap: wrap;

        padding: 15px;
    }


    .account-role-icon {
        width: 44px;
        height: 44px;

        flex-basis: 44px;

        font-size: 18px;
    }


    .account-role-title {
        font-size: 16px;
    }


    .account-role-description {
        font-size: 12px;
    }


    .account-role-badge,
    .account-admin-badge,
    .account-client-badge,
    .account-verification-link {

        margin-left: 60px;
    }


    .account-email-status {
        justify-content: flex-start;

        padding-left: 5px;
    }

}

/* =====================================================
   DATOS DE PERFIL
===================================================== */

.profile-data-wrapper {
    width: 100%;

    max-width: 950px;

    margin:
        35px auto 45px;
}


.profile-data-card {
    padding: 32px;

    border: 1px solid #e7ebf0;

    border-radius: 20px;

    background: #ffffff;

    box-shadow:
        0 12px 35px
        rgba(15, 23, 42, .08);
}


/* =====================================================
   CABECERA
===================================================== */

.profile-data-header {
    display: flex;

    align-items: center;

    gap: 16px;

    margin-bottom: 30px;

    padding-bottom: 22px;

    border-bottom: 1px solid #edf0f3;
}


.profile-data-header-icon {
    width: 52px;
    height: 52px;

    flex: 0 0 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #fff0e8;

    color: #ff7e45;

    font-size: 21px;
}


.profile-data-header h3 {
    margin: 0 0 4px;

    color: #111827;

    font-size: 20px;

    font-weight: 800;
}


.profile-data-header p {
    margin: 0;

    color: #748094;

    font-size: 13px;
}


/* =====================================================
   LABEL
===================================================== */

.profile-label {
    display: block;

    margin-bottom: 8px;

    color: #253247;

    font-size: 14px;

    font-weight: 700;
}


/* =====================================================
   INPUT CON ICONO
===================================================== */

.profile-input-group {
    position: relative;
}


.profile-input-icon {
    position: absolute;

    top: 50%;
    left: 15px;

    z-index: 2;

    transform: translateY(-50%);

    color: #9ca3af;

    font-size: 14px;

    pointer-events: none;
}


.profile-input-group
.profile-input {
    padding-left: 43px;
}


.profile-input {
    min-height: 50px;

    border: 1px solid #dce2e8;

    border-radius: 12px;

    color: #172033;

    background: #ffffff;

    font-size: 14px;

    box-shadow: none;

    transition:
        border-color .2s ease,
        box-shadow .2s ease;
}


.profile-input:focus {
    border-color: #ff8345;

    box-shadow:
        0 0 0 3px
        rgba(255, 131, 69, .12);
}


.profile-input[readonly] {
    background: #f8fafc;

    color: #566171;
}


.profile-help {
    display: block;

    margin-top: 6px;

    color: #8a94a3;

    font-size: 11px;
}


/* =====================================================
   TIPO DE CUENTA PROVEEDOR
===================================================== */

.profile-account-type {
    min-height: 50px;

    display: flex;

    align-items: center;

    gap: 12px;

    padding: 9px 14px;

    border: 1px solid #bce8d2;

    border-radius: 12px;

    background: #f2fbf7;
}


.profile-account-type-icon {
    width: 34px;
    height: 34px;

    flex: 0 0 34px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #d9f7e7;

    color: #14955b;

    font-size: 14px;
}


.profile-account-type strong {
    display: block;

    color: #13261d;

    font-size: 13px;

    font-weight: 800;
}


.profile-account-type small {
    display: block;

    margin-top: 1px;

    color: #688076;

    font-size: 10px;
}


/* =====================================================
   ACCIONES
===================================================== */

.profile-actions {
    display: flex;

    justify-content: flex-start;

    margin-top: 30px;

    padding-top: 24px;

    border-top: 1px solid #edf0f3;
}


.profile-save-btn {
    min-width: 210px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 9px;

    padding: 13px 25px;

    border: 0;

    border-radius: 25px;

    background: #ff8345;

    color: #ffffff;

    font-size: 14px;

    font-weight: 800;

    cursor: pointer;

    box-shadow:
        0 7px 18px
        rgba(255, 131, 69, .22);

    transition:
        transform .2s ease,
        box-shadow .2s ease,
        background .2s ease;
}


.profile-save-btn:hover {
    background: #f57032;

    transform: translateY(-1px);

    box-shadow:
        0 9px 22px
        rgba(255, 131, 69, .3);
}


/* =====================================================
   TABLET
===================================================== */

@media (
    min-width: 577px
)
and (
    max-width: 991px
) {

    .profile-data-wrapper {
        padding: 0 20px;
    }


    .profile-data-card {
        padding: 26px;
    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (
    max-width: 576px
) {

    .profile-data-wrapper {
        margin-top: 22px;

        padding: 0 14px;
    }


    .profile-data-card {
        padding: 20px 17px;

        border-radius: 16px;
    }


    .profile-data-header {
        align-items: flex-start;

        margin-bottom: 24px;
    }


    .profile-data-header-icon {
        width: 45px;
        height: 45px;

        flex-basis: 45px;
    }


    .profile-data-header h3 {
        font-size: 17px;
    }


    .profile-data-header p {
        font-size: 12px;
    }


    .profile-actions {
        margin-top: 24px;
    }


    .profile-save-btn {
        width: 100%;

        min-width: 0;
    }

}