/* =========================================
   SOUND MART - CUSTOM APP ACCOUNT UI
   ========================================= */

.account-page-wrapper {
    background-color: #f4f7fb;
    min-height: 100vh;
    padding-top: 15px !important; 
    padding-bottom: 90px !important;
}

/* --- Profile Card --- */
.account-profile-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    text-decoration: none;
    color: inherit;
}

.profile-avatar {
    width: 60px;
    height: 60px;
    background: #eef7ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.profile-avatar svg {
    width: 30px;
    height: 30px;
    stroke: none;
    fill: #002b5e;
}

.profile-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.profile-info h2 {
    margin: 0 0 4px 0;
    font-size: 1.1rem;
    font-weight: 700;
    color: #00122e;
}

.profile-phone {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #64748b;
    font-size: 0.8rem;
    margin-bottom: 8px;
}

.profile-phone svg {
    width: 14px;
    height: 14px;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
}

.customer-badge {
    background: #eef7ff;
    color: #007bff;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
}

.profile-arrow svg {
    width: 20px;
    height: 20px;
    stroke: #94a3b8;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- Stats Grid --- */
.account-stats-grid {
    background: #ffffff;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    padding: 20px 0;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
}

.stat-box {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.border-sides {
    border-left: 1px solid #eef2f6;
    border-right: 1px solid #eef2f6;
}

.stat-icon {
    width: 24px;
    height: 24px;
    margin-bottom: 8px;
}

.stat-icon svg {
    width: 100%;
    height: 100%;
    stroke: #007bff;
    fill: none;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.stat-num {
    font-size: 1.1rem;
    font-weight: 800;
    color: #00122e;
    margin-bottom: 2px;
}

.stat-label {
    font-size: 0.7rem;
    color: #64748b;
}

/* --- Menu List --- */
.account-menu-list {
    background: #ffffff;
    border-radius: 12px;
    padding: 0 15px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.02);
    display: flex;
    flex-direction: column;
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 16px 0;
    border-bottom: 1px solid #eef2f6;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.2s ease;
}

.menu-item:last-child {
    border-bottom: none;
}

.menu-icon {
    width: 36px;
    height: 36px;
    background: #f8fafc;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    flex-shrink: 0;
}

.menu-icon svg {
    width: 18px;
    height: 18px;
    stroke: none;
    fill: #002b5e;
}

/* Specific stroke-based icons */
.menu-item:nth-child(2) .menu-icon svg,
.menu-item:nth-child(4) .menu-icon svg,
.menu-item:nth-child(5) .menu-icon svg,
.logout-item .menu-icon svg {
    fill: none;
    stroke: #002b5e;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.menu-text {
    flex-grow: 1;
}

.menu-text h3 {
    margin: 0 0 2px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #00122e;
}

.menu-text p {
    margin: 0;
    font-size: 0.7rem;
    color: #94a3b8;
}

.menu-arrow svg {
    width: 18px;
    height: 18px;
    stroke: #94a3b8;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* --- Trust Badge --- */
.cart-trust-badge {
    background: #eef7ff;
    border: 1px solid #cce5ff;
    border-radius: 12px;
    padding: 15px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.trust-icon-large {
    flex-shrink: 0;
}

.trust-icon-large svg {
    width: 32px;
    height: 32px;
    stroke: #007bff; /* Sound Mart Blue */
    fill: none;      /* Removes the giant black fill */
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.trust-text h4 {
    margin: 0 0 4px 0;
    font-size: 0.95rem;
    font-weight: 700;
    color: #002b5e;
}

.trust-text p {
    margin: 0;
    font-size: 0.7rem;
    color: #64748b;
}

/* --- Highlighted Order Status Item --- */
.highlight-status-item {
    background: linear-gradient(to right, #f4f9ff, #ffffff);
    border: 1px solid #cce5ff;
    border-radius: 10px;
    margin: 8px 0;
    padding: 16px 12px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.08);
}

/* Override default border-bottom for this specific item */
.highlight-status-item { border-bottom: 1px solid #cce5ff !important; }

.highlight-status-item .menu-icon {
    background: #007bff;
}

.highlight-status-item .menu-icon svg {
    stroke: #ffffff !important;
}

.highlight-status-item .menu-text h3 {
    color: #007bff;
}

/* Pulsing Track Badge */
.status-badge {
    background: #00d2ff;
    color: #ffffff;
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 12px;
    margin-right: 10px;
    white-space: nowrap;
    animation: pulseStatus 2s infinite;
}

@keyframes pulseStatus {
    0% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0.5); }
    70% { box-shadow: 0 0 0 6px rgba(0, 210, 255, 0); }
    100% { box-shadow: 0 0 0 0 rgba(0, 210, 255, 0); }
}