/* ============================================================
   MY ACCOUNT STYLES
   ============================================================ */

.m-account-page {
    background: #F4F6FB;
    min-height: 100vh;
    padding-bottom: 90px; /* Space for bottom nav */
}

/* TOP BAR */
.m-account-top-bar {
    padding: 52px 16px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.m-account-top-bar .greeting-left {
    display: flex;
    align-items: center;
    gap: 10px;
}
.m-account-top-bar .small-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    object-fit: cover;
}
.m-account-top-bar .greeting-text {
    font-size: 17px;
    font-weight: 700;
    color: var(--m-primary-purple);
}
.m-account-top-bar .top-action svg {
    width: 22px;
    height: 22px;
    color: #374151;
}

/* PROFILE CARD */
.m-profile-card {
    margin: 16px;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
}
.m-profile-card .header-band {
    height: 80px;
    background: linear-gradient(135deg, #EDE9FE 0%, #F5F3FF 100%);
}
.m-profile-card .large-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    border: 3px solid white;
    object-fit: cover;
    margin: -38px auto 0;
    display: block;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.m-profile-card .name {
    font-size: 20px;
    font-weight: 800;
    color: #111827;
    text-align: center;
    margin-top: 10px;
}
.m-profile-card .member-badge {
    display: table;
    margin: 6px auto 16px;
    background: #FEF3C7;
    color: #D97706;
    border-radius: 20px;
    padding: 5px 14px;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: fit-content;
}
.m-profile-card .member-badge svg {
    width: 14px;
    height: 14px;
}

/* REWARDS POINTS CARD */
.m-rewards-card {
    margin: 0 16px 12px;
    background: white;
    border-radius: 16px;
    padding: 16px;
    border: 1px solid #F3F4F6;
}
.m-rewards-card .row-1 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.m-rewards-card .row-1 .label {
    font-size: 11px;
    color: #9CA3AF;
}
.m-rewards-card .btn-redeem {
    border: 1px solid var(--m-primary-purple);
    color: var(--m-primary-purple);
    background: transparent;
    border-radius: 20px;
    padding: 4px 14px;
    font-size: 12px;
    font-weight: 600;
}
.m-rewards-card .points-display {
    margin-top: 4px;
    margin-bottom: 12px;
}
.m-rewards-card .points-display .num {
    font-size: 32px;
    font-weight: 900;
    color: var(--m-primary-purple);
}
.m-rewards-card .points-display .pts {
    font-size: 14px;
    font-weight: 500;
    color: var(--m-primary-purple);
    margin-left: 4px;
}
.m-rewards-card .progress-info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}
.m-rewards-card .progress-info .left-label {
    font-size: 12px;
    color: #374151;
}
.m-rewards-card .progress-info .right-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--m-primary-purple);
}
.m-rewards-card .progress-bar-bg {
    height: 8px;
    border-radius: 4px;
    background: #E5E7EB;
    overflow: hidden;
}
.m-rewards-card .progress-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #7C3AED, #C026D3);
    border-radius: 4px;
}

/* ACHIEVEMENTS CARD */
.m-achievements-card {
    margin: 0 16px 12px;
    background: white;
    border-radius: 16px;
    padding: 16px;
}
.m-achievements-card .heading {
    font-size: 16px;
    font-weight: 800;
    margin: 0 0 12px;
    color: #111827;
}
.m-achievements-card .badges-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}
.m-achievements-card .badge-item {
    background: #F5F3FF;
    border-radius: 14px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}
.m-achievements-card .icon-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #EDE9FE;
    display: flex;
    align-items: center;
    justify-content: center;
}
.m-achievements-card .icon-circle svg {
    width: 22px;
    height: 22px;
    color: var(--m-primary-purple);
}
.m-achievements-card .badge-label {
    font-size: 13px;
    font-weight: 700;
    color: #111827;
}

/* REFER & EARN BANNER */
.m-refer-banner {
    margin: 0 16px 12px;
    background: var(--m-primary-purple);
    border-radius: 16px;
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.m-refer-banner .text-content .title {
    font-size: 16px;
    font-weight: 800;
    color: white;
}
.m-refer-banner .text-content .subtext {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    margin-top: 4px;
    line-height: 1.3;
}
.m-refer-banner .share-circle {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-left: 12px;
}
.m-refer-banner .share-circle svg {
    width: 20px;
    height: 20px;
    color: white;
}

/* MENU LIST CARD */
.m-menu-list {
    margin: 0 16px 12px;
    background: white;
    border-radius: 16px;
    overflow: hidden;
}
.m-menu-list .menu-item {
    display: flex;
    align-items: center;
    padding: 16px;
    gap: 14px;
    border-bottom: 1px solid #F9FAFB;
    text-decoration: none;
    color: inherit;
}
.m-menu-list .menu-item:last-child {
    border-bottom: none;
}
.m-menu-list .menu-item .icon-circle {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #F5F3FF;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.m-menu-list .menu-item .icon-circle svg {
    width: 18px;
    height: 18px;
    color: var(--m-primary-purple);
}
.m-menu-list .menu-item .text {
    font-size: 15px;
    font-weight: 500;
    color: #111827;
    flex: 1;
}
.m-menu-list .menu-item .chevron {
    width: 16px;
    height: 16px;
    color: #D1D5DB;
}

/* LOGOUT BUTTON */
.btn-logout {
    margin: 0 16px 16px;
    width: calc(100% - 32px);
    height: 52px;
    background: #EF4444; /* Red */
    color: white;
    border: none;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
}
.btn-logout svg {
    width: 18px;
    height: 18px;
}
