﻿/* =========================================================
   PERFIL - BONOKO
   ========================================================= */

.profile-page {
    width: 100%;
    max-width: 1050px;
    margin: 0 auto;
    padding: 40px 35px 70px;
    color: #ffffff;
}


/* =========================================================
   HEADER
   ========================================================= */

.profile-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 25px;
}


.profile-header-main {
    display: flex;
    align-items: center;
    gap: 17px;
}


/* =========================================================
   AVATAR
   ========================================================= */

.profile-avatar {
    width: 68px;
    height: 68px;
    flex: 0 0 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: linear-gradient( 135deg, #ff3158, #ff6848 );
    color: #ffffff;
    font-size: 25px;
    font-weight: 750;
    box-shadow: 0 12px 30px rgba(255, 49, 88, 0.22);
}


    .profile-avatar i {
        font-size: 28px;
    }


/* =========================================================
   TÍTULO
   ========================================================= */

.profile-eyebrow {
    display: block;
    margin-bottom: 5px;
    color: #ff4d6a;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.7px;
}


.profile-heading h1 {
    margin: 0;
    color: #ffffff;
    font-size: 30px;
    font-weight: 750;
    letter-spacing: -0.7px;
}


.profile-heading p {
    margin: 6px 0 0;
    color: #707783;
    font-size: 10px;
}


/* =========================================================
   VOLTAR
   ========================================================= */

.back-button {
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 0 13px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.025);
    color: #777e89;
    font-size: 9px;
    cursor: pointer;
    transition: background 0.18s ease, color 0.18s ease;
}


    .back-button:hover {
        background: rgba(255, 255, 255, 0.06);
        color: #ffffff;
    }


/* =========================================================
   RESUMO
   ========================================================= */

.profile-summary {
    min-height: 70px;
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 20px;
    padding: 13px 17px;
    border: 1px solid rgba(255, 255, 255, 0.055);
    border-radius: 13px;
    background: rgba(255, 255, 255, 0.02);
}


.summary-item {
    display: flex;
    align-items: center;
    gap: 10px;
}


.summary-icon {
    width: 36px;
    height: 36px;
    flex: 0 0 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 9px;
    background: rgba(255, 49, 88, 0.08);
    color: #ff4e6a;
}


.summary-item > div:last-child {
    display: flex;
    flex-direction: column;
}


.summary-item span {
    color: #5c636e;
    font-size: 8px;
}


.summary-item strong {
    margin-top: 2px;
    color: #daddE3;
    font-size: 10px;
    font-weight: 600;
}


.summary-divider {
    width: 1px;
    height: 34px;
    background: rgba(255, 255, 255, 0.055);
}


/* =========================================================
   CARD DO FORMULÁRIO
   ========================================================= */

.profile-card {
    padding: 25px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    background: linear-gradient( 145deg, #12151b, #0e1015 );
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}


/* =========================================================
   CARD HEADER
   ========================================================= */

.profile-card-header {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}


.section-icon {
    width: 39px;
    height: 39px;
    flex: 0 0 39px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: rgba(255, 49, 88, 0.09);
    color: #ff506b;
}


    .section-icon i {
        font-size: 16px;
    }


.profile-card-header h2 {
    margin: 0;
    color: #e9ebef;
    font-size: 14px;
    font-weight: 650;
}


.profile-card-header p {
    margin: 3px 0 0;
    color: #5d646f;
    font-size: 8px;
}


/* =========================================================
   LOADING
   ========================================================= */

.profile-loading {
    min-height: 450px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 11px;
    color: #626975;
    font-size: 9px;
}


.loading-spinner {
    width: 27px;
    height: 27px;
    border: 2px solid rgba(255, 255, 255, 0.07);
    border-top-color: #ff3158;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}


@keyframes spin {

    to {
        transform: rotate(360deg);
    }
}


/* =========================================================
   RESPONSIVO
   ========================================================= */

@media (max-width: 700px) {

    .profile-page {
        padding: 28px 17px 55px;
    }


    .profile-header {
        align-items: flex-start;
        flex-direction: column;
    }


    .profile-avatar {
        width: 58px;
        height: 58px;
        flex-basis: 58px;
        border-radius: 15px;
        font-size: 21px;
    }


    .profile-heading h1 {
        font-size: 26px;
    }


    .profile-summary {
        align-items: flex-start;
        flex-direction: column;
        gap: 12px;
    }


    .summary-divider {
        width: 100%;
        height: 1px;
    }


    .profile-card {
        padding: 18px;
    }
}
