/* ==========================================================
   userprofile.css  |  Urmi Creations, My Profile page
   Brand colors: orange #F28C28, green #8CC63F, pink #E3306E, teal #3FB0CF
   ========================================================== */



.page {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: #F7F3EC;
}

/* brand colour helpers */
.c-orange {
    background: #F28C28;
}

.c-green {
    background: #8CC63F;
}

.c-pink {
    background: #E3306E;
}

.c-teal {
    background: #3FB0CF;
}

/* ---------- header ---------- */
.site-header {
    background: #1B1A19;
    color: #F7F3EC;
}

.topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 36px;
    padding: 0 48px;
    font-size: 13px;
    letter-spacing: 0.02em;
    border-bottom: 1px solid #34312D;
}

.topbar-mail {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.topbar-currency {
    display: flex;
    align-items: center;
    gap: 6px;
    font-weight: 500;
}

.toplink:hover {
    color: #F28C28;
}

.header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 48px;
}

.header-left {
    flex: 1 1 0;
    display: flex;
    align-items: center;
}

.header-right {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}

.icon-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: #F7F3EC;
    cursor: pointer;
}

.icon-btn-filled {
    background: #34312D;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
}

.logo-mark {
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 42px;
    line-height: 1;
    letter-spacing: 0.02em;
}

.logo-u {
    color: #F28C28;
}

.logo-r {
    color: #8CC63F;
}

.logo-m {
    color: #E3306E;
}

.logo-i {
    color: #3FB0CF;
}

.logo-sub {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.42em;
    color: #EDE6DA;
}

.main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 36px;
    padding: 6px 48px 20px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

/* ---------- layout ---------- */
.layout {
    /* flex: 1; */
    /* display: flex; */
    /* flex-wrap: wrap; */
    /* align-items: flex-start; */
    /* gap: 32px; */
    width: 100%;
    /* max-width: 1120px; */
    /* box-sizing: border-box; */
    /* margin: 0 auto; */
    padding: 35px 24px;
}

/* ---------- sidebar ---------- */
.sidebar2 {
    flex: 1 1 280px;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.profile-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 32px 24px;
    border-radius: 28px;
    background: #1B1A19;
    color: #F7F3EC;
    text-align: center;
}

.avatar-ring {
    width: 108px;
    height: 108px;
    box-sizing: border-box;
    padding: 4px;
    border-radius: 50%;
    background: conic-gradient(#F28C28 0 25%, #8CC63F 0 50%, #E3306E 0 75%, #3FB0CF 0 100%);
}

.avatar-ring-sm {
    width: 88px;
    height: 88px;
    padding: 3px;
}

.avatar {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid #1B1A19;
    border-radius: 50%;
    background: #F7F3EC;
    color: #1B1A19;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 600;
    font-size: 42px;
}

.avatar-ring-sm .avatar {
    border: 4px solid #FFFFFF;
    font-size: 34px;
}

.profile-name {
    margin-top: 12px;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: 28px;
}

.profile-email {
    font-size: 14px;
    color: #CFC6B8;
    word-break: break-all;
}

.menu-card {
    display: flex;
    flex-direction: column;
    gap: 0px;
    padding: 10px;
    border: 1px solid #E6DED0;
    border-radius: 28px;
    background: #FFFFFF;
}

    .menu-card a {
        display: flex;
        align-items: center;
        gap: 12px;
        padding: 11px 16px;
        border-radius: 18px;
        color: #000000;
        font-size: 15px;
        font-weight: 500;
    }

        .menu-card a:hover {
            background: #ECE5D9;
            color: #000;
        }

    .menu-card .active {
        background: #1B1A19;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 14px;
        padding: 14px 16px;
        border-radius: 18px;
        color: #fff;
        font-size: 15px;
        font-weight: 500;
    }

.navlink-logout {
    color: #B4233F;
}

.navlink-dot {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-radius: 50%;
    background: #F28C28;
}

.menu-divider {
    height: 1px;
    margin: 6px 12px;
    background: #E6DED0;
}

/* ---------- content ---------- */
.content {
    flex: 999 1 560px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.page-head {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.eyebrow {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #B8265A;
}

.page-title {
    margin: 0;
    font-family: 'Fraunces', Georgia, serif;
    font-weight: 500;
    font-size: 34px;
    line-height: 1.1;
}

.page-intro {
    max-width: 520px;
    margin: 0;
    font-size: 16px;
    line-height: 1.5;
    color: #6B645B;
}

/* ---------- form card ---------- */
.form-card {
    overflow: hidden;
    border: 1px solid #E6DED0;
    border-radius: 28px;
    background: #FFFFFF;
}

.brand-strip {
    display: flex;
    height: 6px;
}

    .brand-strip span {
        flex: 1;
    }

.form-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 31px;
}

.photo-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 24px;
}

.photo-input-wrap {
    flex: 1 1 260px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.label {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.02em;
    color: #3A352F;
}

.file {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
    border: 1.5px dashed #CFC5B3;
    border-radius: 999px;
    background: #FBF8F2;
    font-family: inherit;
    font-size: 14px;
    color: #6B645B;
}

    .file::file-selector-button {
        margin-right: 14px;
        padding: 10px 18px;
        border: 0;
        border-radius: 999px;
        background: #1B1A19;
        color: #F7F3EC;
        font-family: inherit;
        font-size: 14px;
        font-weight: 600;
        cursor: pointer;
    }

.fields {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-group {
    flex: 1 1 240px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group-full {
    flex-basis: 100%;
}

.field {
    height: 52px;
    box-sizing: border-box;
    padding: 0 16px;
    border: 1.5px solid #DDD3C2;
    border-radius: 14px;
    background: #FBF8F2;
    font-family: inherit;
    font-size: 16px;
    color: #1B1A19;
}

    .field:focus {
        outline: 2px solid #E3306E;
        outline-offset: 1px;
        border-color: #E3306E;
    }

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px;
}

.save-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 52px !IMPORTANT;
    padding: 0 44px !IMPORTANT;
    border-radius: 999px;
    background: #1B1A19 !IMPORTANT;
    color: #F7F3EC !IMPORTANT;
    font-family: inherit;
    font-size: 16px !IMPORTANT;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-decoration: none;
    cursor: pointer;
    transition: background 0.2s ease;
}

    .save-btn:hover {
        background: #E3306E !IMPORTANT;
    }

    .save-btn:focus-visible {
        outline: 2px solid #E3306E;
        outline-offset: 3px;
    }

.dots {
    display: flex;
    gap: 6px;
}

    .dots span {
        width: 8px;
        height: 8px;
        border-radius: 50%;
    }

/* ---------- footer ---------- */
.site-footer {
    padding: 28px 48px;
    border-top: 1px solid #E6DED0;
    text-align: center;
    font-size: 13px;
    color: #6B645B;
}
