/* ==================== CSS RESET & ROOT VARIABLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-green: #2e7d32;
    --primary-green-light: #4caf50;
    --primary-green-dark: #1b5e20;
    --secondary-orange: #ff9800;
    --secondary-orange-light: #ffb74d;
    --secondary-yellow: #ffc107;
    --accent-red: #e53935;
    --accent-red-light: #ef5350;
    --accent-blue: #1976d2;
    --accent-purple: #7b1fa2;
    --accent-teal: #00897b;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --light-gray: #e0e0e0;
    --medium-gray: #9e9e9e;
    --dark-gray: #424242;
    --black: #212121;
    --gradient-primary: linear-gradient(135deg, #2e7d32 0%, #66bb6a 100%);
    --gradient-secondary: linear-gradient(135deg, #ff9800 0%, #ffb74d 100%);
    --gradient-hero: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #43a047 100%);
    --gradient-purple: linear-gradient(135deg, #7b1fa2 0%, #ba68c8 100%);
    --gradient-blue: linear-gradient(135deg, #1976d2 0%, #64b5f6 100%);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.16);
    --shadow-xl: 0 12px 48px rgba(0, 0, 0, 0.2);
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
    --radius-full: 50%;
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

body {
    font-family: 'Poppins', sans-serif;
    background: var(--off-white);
    color: var(--black);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--off-white); }
::-webkit-scrollbar-thumb { background: var(--primary-green-light); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary-green); }

/* ============================================================ */
/* ==================== NAVBAR — DESKTOP ====================== */
/* ============================================================ */
/*
   DESKTOP:  [🍃 Grocesta]  [  👤 My Profile  ]  [🏠Home 🛒 👤]
   
   MOBILE:   [🍃 Grocesta]              [🏠 🛒 👤]
             [          👤 My Profile            ]
*/

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 25px;
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #43a047);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    gap: 12px;
}

.nav-left {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-icon {
    font-size: 1.6rem;
    color: var(--white);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.site-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--white);
    white-space: nowrap;
}

.nav-center {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 0;
}

.page-title {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.back-to-home {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    flex-shrink: 0;
}

.back-to-home:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cart-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    color: var(--white);
    font-size: 1.05rem;
    text-decoration: none;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.cart-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    width: 18px;
    height: 18px;
    background: var(--accent-red);
    color: var(--white);
    border-radius: var(--radius-full);
    font-size: 0.65rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== NAV PROFILE ICON ==================== */
.nav-profile-link {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.35);
    border-radius: var(--radius-full);
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s ease;
    overflow: hidden;
    flex-shrink: 0;
}

.nav-profile-link:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-1px);
}

.nav-profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--radius-full);
    display: none;
}

.nav-profile-img.has-image {
    display: block;
}

.nav-profile-fallback {
    font-size: 1.05rem;
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.nav-profile-img.has-image ~ .nav-profile-fallback {
    display: none;
}

.nav-profile-dot {
    position: absolute;
    bottom: 1px;
    right: 1px;
    width: 10px;
    height: 10px;
    background: #4caf50;
    border: 2px solid rgba(27, 94, 32, 0.9);
    border-radius: var(--radius-full);
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
    flex: 1;
    padding: 20px 15px 40px;
    min-height: calc(100vh - 65px);
}

.container {
    max-width: 700px;
    margin: 0 auto;
    width: 100%;
}

/* ==================== PROFILE CARD ==================== */
.profile-card {
    background: var(--white);
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    margin-bottom: 16px;
}

.profile-header { position: relative; }

.profile-cover {
    height: 120px;
    background: linear-gradient(135deg, #1b5e20, #2e7d32, #43a047);
    position: relative;
    overflow: hidden;
}

.cover-pattern {
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,255,255,0.1) 0%, transparent 50%);
}

.profile-avatar-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: -55px auto 15px;
}

.profile-avatar {
    width: 110px;
    height: 110px;
    border-radius: var(--radius-full);
    border: 4px solid var(--white);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    position: relative;
    background: var(--gradient-primary);
}

.profile-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.profile-img[src]:not([src=""]) { display: block; }

.photo-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.profile-img[src]:not([src=""]) + .photo-placeholder { display: none; }

.photo-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition-fast);
    cursor: pointer;
    font-size: 0.75rem;
    gap: 3px;
}

.photo-overlay i { font-size: 1.2rem; }
.profile-avatar:hover .photo-overlay { opacity: 1; }
.file-input { display: none; }

.profile-badge {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 28px;
    height: 28px;
    background: var(--primary-green);
    border: 3px solid var(--white);
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 0.7rem;
}

/* ✅ FIXED: Profile Info — Always Centered */
.profile-info {
    text-align: center;
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.username {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 5px;
    text-align: center;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.member-since {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--medium-gray);
    font-size: 0.85rem;
    width: 100%;
}

.member-since i { color: var(--primary-green); }

/* Profile Details */
.profile-details {
    padding: 0 20px;
    border-top: 1px solid var(--light-gray);
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 0;
    border-bottom: 1px solid var(--light-gray);
}

.detail-item:last-child { border-bottom: none; }

.detail-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1rem;
    flex-shrink: 0;
}

.detail-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--medium-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.detail-value {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.detail-edit {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: var(--off-white);
    border: none;
    border-radius: var(--radius-full);
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.detail-edit:hover {
    background: var(--primary-green);
    color: var(--white);
}

.edit-profile-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    width: calc(100% - 40px);
    margin: 20px;
    padding: 13px 16px;
    background: linear-gradient(135deg, #ff9800, #ffb74d);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 152, 0, 0.2);
}

.edit-profile-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 152, 0, 0.3);
}

.edit-profile-btn:active { transform: scale(0.97); }

/* ==================== STATS ==================== */
.stats-section {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 16px;
}

.stat-card {
    background: var(--white);
    border-radius: 14px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 42px;
    height: 42px;
    margin: 0 auto 10px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--white);
}

.stat-icon.orders { background: var(--gradient-primary); }
.stat-icon.wishlist { background: linear-gradient(135deg, #e91e63 0%, #f48fb1 100%); }
.stat-icon.savings { background: var(--gradient-secondary); }
.stat-icon.wallet { background: var(--gradient-blue); }

.stat-value {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 2px;
}

.stat-label { font-size: 0.72rem; color: var(--medium-gray); }

/* ==================== ACTIONS ==================== */
.actions-section {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 16px;
}

.section-title i { color: var(--primary-green); font-size: 0.95rem; }

.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.action-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px;
    background: #f8f9fa;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.action-card:hover {
    background: var(--white);
    border-color: rgba(46, 125, 50, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 2px 12px rgba(46, 125, 50, 0.08);
}

.action-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: var(--gradient-primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1rem;
    flex-shrink: 0;
}

.action-icon.heart { background: linear-gradient(135deg, #e91e63 0%, #f48fb1 100%); }
.action-icon.wallet { background: var(--gradient-blue); }
.action-icon.coupon { background: var(--gradient-secondary); }

.action-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.action-title {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-subtitle {
    font-size: 0.72rem;
    color: var(--medium-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.action-arrow { color: var(--medium-gray); font-size: 0.8rem; flex-shrink: 0; }

/* ==================== ORDERS ==================== */
.orders-section {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    gap: 10px;
}

.view-all-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-green);
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
    flex-shrink: 0;
}

.view-all-link:hover { text-decoration: underline; }

.orders-list { display: flex; flex-direction: column; gap: 10px; }

.order-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #eee;
    transition: all 0.2s ease;
    cursor: pointer;
}

.order-item:hover {
    border-color: rgba(46, 125, 50, 0.15);
    background: rgba(46, 125, 50, 0.02);
}

.order-icon {
    width: 44px;
    height: 44px;
    min-width: 44px;
    background: var(--white);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.order-info { flex: 1; min-width: 0; overflow: hidden; }

.order-id {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--black);
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-date { font-size: 0.72rem; color: var(--medium-gray); }

.order-status {
    padding: 4px 10px;
    border-radius: 50px;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    white-space: nowrap;
    flex-shrink: 0;
    letter-spacing: 0.3px;
}

.order-status.delivered { background: rgba(46, 125, 50, 0.1); color: var(--primary-green); }
.order-status.pending { background: rgba(255, 152, 0, 0.1); color: var(--secondary-orange); }
.order-status.cancelled { background: rgba(229, 57, 53, 0.1); color: var(--accent-red); }

.order-amount {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-green-dark);
    white-space: nowrap;
    flex-shrink: 0;
}

.no-orders { padding: 30px 20px; text-align: center; }
.no-orders-content i { font-size: 2.5rem; color: var(--light-gray); margin-bottom: 12px; }
.no-orders-content h3 { font-size: 1.05rem; color: var(--dark-gray); margin-bottom: 6px; }
.no-orders-content p { color: var(--medium-gray); margin-bottom: 16px; font-size: 0.85rem; }

.start-shopping-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    min-width: 130px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.start-shopping-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.start-shopping-btn:active { transform: scale(0.97); }

/* ==================== SETTINGS ==================== */
.settings-section {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.settings-list { display: flex; flex-direction: column; gap: 6px; }

.settings-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px;
    background: none;
    border: none;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
    text-align: left;
    font-family: 'Poppins', sans-serif;
}

.settings-item:hover { background: #f8f9fa; }

.settings-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    background: rgba(46, 125, 50, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-green);
    font-size: 1rem;
    flex-shrink: 0;
}

.settings-icon.share { background: rgba(25, 118, 210, 0.1); color: var(--accent-blue); }
.settings-icon.rate { background: rgba(255, 152, 0, 0.1); color: var(--secondary-orange); }

.settings-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.settings-title {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--black);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-subtitle {
    font-size: 0.72rem;
    color: var(--medium-gray);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.settings-arrow { color: var(--medium-gray); flex-shrink: 0; }

.settings-toggle { position: relative; flex-shrink: 0; }
.settings-toggle input { display: none; }

.toggle-label {
    display: block;
    width: 48px;
    height: 26px;
    background: var(--light-gray);
    border-radius: 13px;
    cursor: pointer;
    position: relative;
    transition: var(--transition-fast);
}

.toggle-label::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 20px;
    height: 20px;
    background: var(--white);
    border-radius: var(--radius-full);
    box-shadow: var(--shadow-sm);
    transition: var(--transition-fast);
}

.settings-toggle input:checked + .toggle-label { background: var(--primary-green); }
.settings-toggle input:checked + .toggle-label::after { left: 25px; }

/* ==================== LOGOUT ==================== */
.logout-section { text-align: center; padding: 20px; }

.logout-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    min-width: 130px;
    background: var(--white);
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    color: var(--accent-red);
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.logout-btn:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.2);
}

.logout-btn:active { transform: scale(0.97); }
.logout-note { margin-top: 10px; font-size: 0.78rem; color: var(--medium-gray); }

/* ==================== MODAL ==================== */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    backdrop-filter: blur(5px);
}

.modal-overlay.active { display: flex; }

.modal-container {
    background: var(--white);
    border-radius: 14px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid var(--light-gray);
}

.modal-header h2 { font-size: 1.15rem; color: var(--black); }

.modal-close {
    width: 34px;
    height: 34px;
    min-width: 34px;
    background: var(--off-white);
    border: none;
    border-radius: var(--radius-full);
    color: var(--dark-gray);
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.modal-close:hover { background: var(--accent-red); color: var(--white); }

.modal-form { padding: 22px; }
.form-section { margin-bottom: 20px; }

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--dark-gray);
    margin-bottom: 8px;
}

.form-label i { color: var(--primary-green); font-size: 0.85rem; }

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 14px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    font-size: 0.9rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s ease;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.form-textarea { resize: vertical; min-height: 100px; }

.phone-input-group {
    display: flex;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.2s ease;
}

.phone-input-group:focus-within {
    border-color: var(--primary-green);
    box-shadow: 0 0 0 3px rgba(46, 125, 50, 0.1);
}

.country-code {
    padding: 12px 14px;
    background: var(--off-white);
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--dark-gray);
    border-right: 2px solid var(--light-gray);
    white-space: nowrap;
}

.phone-input-group .form-input { border: none; border-radius: 0; }
.phone-input-group .form-input:focus { box-shadow: none; }

.photo-upload-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.upload-avatar {
    position: relative;
    width: 110px;
    height: 110px;
    border-radius: var(--radius-full);
    overflow: hidden;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-md);
}

.upload-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
}

.upload-img[src]:not([src=""]) { display: block; }

.upload-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 2.5rem;
}

.upload-img[src]:not([src=""]) + .upload-placeholder { display: none; }

.upload-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.3rem;
    opacity: 0;
    transition: var(--transition-fast);
    cursor: pointer;
}

.upload-avatar:hover .upload-overlay { opacity: 1; }

.photo-actions { display: flex; gap: 8px; }

.upload-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    min-width: 130px;
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.upload-btn:active { transform: scale(0.97); }

.remove-photo-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 13px 16px;
    min-width: 130px;
    background: var(--white);
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.remove-photo-btn:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.2);
}

.remove-photo-btn:active { transform: scale(0.97); }

.form-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 24px;
}

.btn-cancel,
.btn-save {
    padding: 13px 16px;
    min-width: 130px;
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    white-space: nowrap;
}

.btn-cancel {
    background: var(--white);
    color: var(--dark-gray);
    border: 2px solid var(--light-gray);
}

.btn-cancel:hover {
    background: var(--off-white);
    border-color: var(--medium-gray);
    transform: translateY(-2px);
}

.btn-cancel:active { transform: scale(0.97); }

.btn-save {
    background: var(--gradient-primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(46, 125, 50, 0.2);
}

.btn-save:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 125, 50, 0.3);
}

.btn-save:active { transform: scale(0.97); }

/* ==================== TOAST ==================== */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: var(--white);
    color: var(--dark-gray);
    padding: 12px 18px;
    border-radius: 12px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 10px;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 3000;
    max-width: 420px;
    width: 90%;
    border-left: 4px solid var(--primary-green);
}

.toast.show { transform: translateX(-50%) translateY(0); opacity: 1; }
.toast.success { border-left-color: var(--primary-green); }
.toast.error { border-left-color: var(--accent-red); }
.toast.info { border-left-color: var(--accent-blue); }
.toast.warning { border-left-color: var(--secondary-orange); }

.toast-content { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.toast-content i { font-size: 1.1rem; flex-shrink: 0; }
.toast.success .toast-content i { color: var(--primary-green); }
.toast.error .toast-content i { color: var(--accent-red); }
.toast.info .toast-content i { color: var(--accent-blue); }
.toast.warning .toast-content i { color: var(--secondary-orange); }
.toast-content span { font-size: 0.85rem; font-weight: 500; word-wrap: break-word; }

.toast-close {
    background: none;
    border: none;
    color: #bdbdbd;
    cursor: pointer;
    opacity: 0.8;
    padding: 4px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    width: 24px;
    height: 24px;
    transition: all 0.2s;
}

.toast-close:hover { background: var(--off-white); color: #757575; opacity: 1; }

/* ==================== LOADING ==================== */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.96);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5000;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.loading-overlay.hidden { opacity: 0; pointer-events: none; visibility: hidden; }

.loading-spinner { display: flex; flex-direction: column; align-items: center; gap: 16px; }

.spinner {
    width: 42px;
    height: 42px;
    border: 4px solid var(--light-gray);
    border-top-color: var(--primary-green);
    border-radius: var(--radius-full);
    animation: spin 0.8s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }
.loading-spinner span { color: #757575; font-size: 0.9rem; font-weight: 500; }

/* ==================== FOOTER ==================== */
.footer {
    background: var(--black);
    color: var(--white);
    padding: 24px 20px;
    text-align: center;
    margin-top: auto;
}

.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.footer-logo i { color: var(--primary-green-light); }
.footer-content p { color: var(--medium-gray); font-size: 0.82rem; }

.footer-bottom {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--dark-gray);
    font-size: 0.78rem;
    color: var(--medium-gray);
}

.hidden { display: none !important; }

/* ============================================================== */
/* ==================== RESPONSIVE — TABLET ≤768px ============== */
/* ============================================================== */
/*
   Layout:  Row 1: [🍃 Grocesta]      [🏠 🛒 👤]
            Row 2: [     👤 My Profile        ]
*/
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        padding: 12px 14px 10px;
        gap: 0;
    }

    /* Row 1 Left — Logo */
    .nav-left {
        flex-shrink: 0;
    }

    .site-name {
        font-size: 1.15rem;
    }

    .logo-icon {
        font-size: 1.4rem;
    }

    /* Row 1 Right — Icons */
    .nav-right {
        margin-left: auto;
        gap: 8px;
    }

    .back-to-home {
        padding: 7px 12px;
        font-size: 0.78rem;
        gap: 5px;
        border-radius: 8px;
    }

    .back-text {
        font-size: 0.75rem;
    }

    .cart-link {
        width: 36px;
        height: 36px;
        font-size: 0.95rem;
    }

    .nav-profile-link {
        width: 36px;
        height: 36px;
    }

    .nav-profile-fallback {
        font-size: 0.95rem;
    }

    .nav-profile-dot {
        width: 9px;
        height: 9px;
    }

    /* Row 2 — Page Title (ALWAYS VISIBLE) */
    .nav-center {
        order: 3;
        width: 100%;
        justify-content: center;
        margin-top: 8px;
        padding-top: 10px;
        border-top: 1px solid rgba(255, 255, 255, 0.12);
    }

    .page-title {
        font-size: 0.95rem;
        gap: 6px;
    }

    .main-content {
        padding: 12px 10px 30px;
    }

    .stats-section {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }

    .actions-grid {
        grid-template-columns: 1fr;
    }

    .order-item {
        flex-wrap: wrap;
    }

    .order-amount {
        width: 100%;
        text-align: right;
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px dashed var(--light-gray);
    }

    .edit-profile-btn {
        width: calc(100% - 32px);
        margin: 16px;
    }

    .form-actions {
        flex-direction: column;
        gap: 8px;
    }

    .btn-cancel,
    .btn-save {
        width: 100%;
        min-width: unset;
    }

    .photo-actions {
        flex-direction: column;
        width: 100%;
    }

    .upload-btn,
    .remove-photo-btn {
        width: 100%;
        min-width: unset;
    }

    .modal-overlay { padding: 10px; }
    .modal-container { max-width: 100%; max-height: 88vh; }
    .toast { width: 94%; bottom: 16px; }
    .footer { padding: 20px 15px; }
    .footer-logo { font-size: 1rem; }
}

/* ============================================================== */
/* ==================== RESPONSIVE — MOBILE ≤480px ============== */
/* ============================================================== */
/*
   Layout:  Row 1: [🍃 Grocesta]    [🏠 🛒 👤]
            Row 2: [   👤 My Profile      ]
            
   "Home" text hidden, icon-only buttons
*/
@media (max-width: 480px) {
    .navbar {
        padding: 10px 12px 8px;
    }

    .logo {
        gap: 6px;
    }

    .site-name {
        font-size: 1rem;
    }

    .logo-icon {
        font-size: 1.25rem;
    }

    /* Hide "Home" text — icon only circle */
    .back-text {
        display: none;
    }

    .back-to-home {
        width: 34px;
        height: 34px;
        padding: 0;
        justify-content: center;
        border-radius: var(--radius-full);
        font-size: 0.85rem;
        gap: 0;
    }

    .cart-link {
        width: 34px;
        height: 34px;
        font-size: 0.9rem;
    }

    .cart-count {
        width: 16px;
        height: 16px;
        font-size: 0.6rem;
        top: -4px;
        right: -4px;
    }

    .nav-profile-link {
        width: 34px;
        height: 34px;
    }

    .nav-profile-fallback {
        font-size: 0.9rem;
    }

    .nav-profile-dot {
        width: 8px;
        height: 8px;
        bottom: 0;
        right: 0;
    }

    .nav-right {
        gap: 6px;
    }

    /* Page title — still visible, slightly smaller */
    .nav-center {
        margin-top: 6px;
        padding-top: 8px;
    }

    .page-title {
        font-size: 0.88rem;
    }

    .profile-cover { height: 100px; }

    .profile-avatar-wrapper {
        width: 90px;
        height: 90px;
        margin-top: -45px;
    }

    .profile-avatar { width: 90px; height: 90px; }
    .username { font-size: 1.3rem; }
    .member-since { font-size: 0.78rem; }

    .stat-card { padding: 14px 8px; }
    .stat-icon { width: 38px; height: 38px; font-size: 0.95rem; }
    .stat-value { font-size: 1.05rem; }
    .stat-label { font-size: 0.68rem; }

    .action-card { padding: 12px; }
    .action-icon { width: 38px; height: 38px; min-width: 38px; font-size: 0.9rem; }
    .action-title { font-size: 0.82rem; }
    .action-subtitle { font-size: 0.68rem; }

    .edit-profile-btn,
    .start-shopping-btn,
    .logout-btn,
    .upload-btn,
    .remove-photo-btn,
    .btn-cancel,
    .btn-save {
        padding: 12px 14px;
        font-size: 0.82rem;
        min-width: unset;
    }

    .detail-icon { width: 38px; height: 38px; min-width: 38px; font-size: 0.9rem; }
    .detail-label { font-size: 0.7rem; }
    .detail-value { font-size: 0.88rem; }

    .settings-icon { width: 38px; height: 38px; min-width: 38px; font-size: 0.9rem; }
    .settings-title { font-size: 0.82rem; }
    .settings-subtitle { font-size: 0.68rem; }
    .section-title { font-size: 0.9rem; }

    .order-icon { width: 38px; height: 38px; min-width: 38px; font-size: 1.1rem; }
    .order-id { font-size: 0.8rem; }
    .order-date { font-size: 0.68rem; }
    .order-status { font-size: 0.6rem; padding: 3px 8px; }
    .order-amount { font-size: 0.88rem; }

    .modal-header { padding: 14px 16px; }
    .modal-header h2 { font-size: 1rem; }
    .modal-form { padding: 16px; }
    .form-label { font-size: 0.8rem; }
    .form-input, .form-textarea { padding: 10px 12px; font-size: 0.85rem; }
    .country-code { padding: 10px 12px; font-size: 0.85rem; }
    .upload-avatar { width: 95px; height: 95px; }
    .toast-content i { font-size: 1rem; }
    .toast-content span { font-size: 0.8rem; }

    .footer { padding: 18px 12px; }
    .footer-logo { font-size: 0.95rem; }
    .footer-content p { font-size: 0.78rem; }
    .footer-bottom { font-size: 0.72rem; margin-top: 12px; padding-top: 12px; }
}

/* ============================================================== */
/* ==================== RESPONSIVE — VERY SMALL ≤340px ========== */
/* ============================================================== */
/*
   Layout:  Row 1: [🍃 Grocesta]   [🏠 🛒 👤]
            Row 2: [  👤 My Profile     ]
*/
@media (max-width: 340px) {
    .navbar {
        padding: 8px 8px 6px;
    }

    .site-name {
        font-size: 0.85rem;
    }

    .logo-icon {
        font-size: 1.1rem;
    }

    .logo {
        gap: 5px;
    }

    .back-to-home {
        width: 30px;
        height: 30px;
        font-size: 0.78rem;
    }

    .cart-link {
        width: 30px;
        height: 30px;
        font-size: 0.82rem;
    }

    .cart-count {
        width: 14px;
        height: 14px;
        font-size: 0.55rem;
    }

    .nav-profile-link {
        width: 30px;
        height: 30px;
        border-width: 1.5px;
    }

    .nav-profile-fallback {
        font-size: 0.78rem;
    }

    .nav-profile-dot {
        width: 7px;
        height: 7px;
        border-width: 1.5px;
    }

    .nav-right {
        gap: 5px;
    }

    .nav-center {
        margin-top: 5px;
        padding-top: 7px;
    }

    .page-title {
        font-size: 0.8rem;
        gap: 5px;
    }

    .profile-cover { height: 85px; }

    .profile-avatar-wrapper {
        width: 80px;
        height: 80px;
        margin-top: -40px;
    }

    .profile-avatar { width: 80px; height: 80px; }
    .photo-placeholder { font-size: 2rem; }
    .profile-badge { width: 24px; height: 24px; font-size: 0.6rem; }
    .username { font-size: 1.15rem; }
    .member-since { font-size: 0.72rem; }

    .stats-section { gap: 8px; }
    .stat-card { padding: 12px 6px; }
    .stat-icon { width: 34px; height: 34px; font-size: 0.85rem; }
    .stat-value { font-size: 0.95rem; }
    .stat-label { font-size: 0.62rem; }

    .actions-section, .orders-section, .settings-section { padding: 14px; }
    .section-title { font-size: 0.82rem; margin-bottom: 12px; }

    .action-card { padding: 10px; gap: 10px; }
    .action-icon { width: 34px; height: 34px; min-width: 34px; font-size: 0.82rem; border-radius: 8px; }
    .action-title { font-size: 0.75rem; }
    .action-subtitle { font-size: 0.62rem; }

    .detail-item { gap: 10px; padding: 12px 0; }
    .detail-icon { width: 34px; height: 34px; min-width: 34px; font-size: 0.82rem; border-radius: 8px; }
    .detail-label { font-size: 0.65rem; }
    .detail-value { font-size: 0.82rem; }
    .detail-edit { width: 28px; height: 28px; min-width: 28px; }

    .settings-item { padding: 10px; gap: 10px; }
    .settings-icon { width: 34px; height: 34px; min-width: 34px; font-size: 0.82rem; border-radius: 8px; }
    .settings-title { font-size: 0.78rem; }
    .settings-subtitle { font-size: 0.62rem; }

    .toggle-label { width: 42px; height: 22px; }
    .toggle-label::after { width: 16px; height: 16px; }
    .settings-toggle input:checked + .toggle-label::after { left: 23px; }

    .order-item { padding: 10px; gap: 10px; }
    .order-icon { width: 34px; height: 34px; min-width: 34px; font-size: 1rem; }
    .order-id { font-size: 0.75rem; }
    .order-status { font-size: 0.55rem; padding: 2px 6px; }
    .order-amount { font-size: 0.82rem; }

    .edit-profile-btn,
    .start-shopping-btn,
    .logout-btn,
    .upload-btn,
    .remove-photo-btn,
    .btn-cancel,
    .btn-save {
        padding: 10px;
        font-size: 0.75rem;
    }

    .edit-profile-btn { width: calc(100% - 24px); margin: 12px; }
    .logout-note { font-size: 0.7rem; }

    .modal-header { padding: 12px 14px; }
    .modal-header h2 { font-size: 0.92rem; }
    .modal-form { padding: 14px; }
    .form-label { font-size: 0.75rem; }
    .form-input, .form-textarea { padding: 8px 10px; font-size: 0.8rem; }
    .country-code { padding: 8px 10px; font-size: 0.8rem; }
    .upload-avatar { width: 85px; height: 85px; }

    .no-orders-content i { font-size: 2rem; }
    .no-orders-content h3 { font-size: 0.92rem; }
    .no-orders-content p { font-size: 0.78rem; }

    .toast { width: 92%; bottom: 12px; padding: 10px 14px; }
    .toast-content span { font-size: 0.75rem; }

    .footer { padding: 14px 10px; }
    .footer-logo { font-size: 0.85rem; }
    .footer-content p { font-size: 0.72rem; }
    .footer-bottom { font-size: 0.65rem; margin-top: 10px; padding-top: 10px; }
}

/* ==================== PRINT ==================== */
@media print {
    .navbar, .footer, .toast, .modal-overlay, .loading-overlay,
    .logout-section, .edit-profile-btn, .detail-edit {
        display: none !important;
    }
    body { background: var(--white); }
    .profile-card, .actions-section, .orders-section, .settings-section {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
}

/* ==================== DELETE ACCOUNT SECTION ==================== */
.delete-account-section {
    background: var(--white);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
    border: 2px solid rgba(229, 57, 53, 0.1);
}

.danger-zone-header {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-red);
    margin-bottom: 8px;
}

.danger-zone-header i {
    font-size: 0.85rem;
}

.delete-description {
    font-size: 0.82rem;
    color: var(--medium-gray);
    margin-bottom: 16px;
    line-height: 1.5;
}

.delete-account-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 13px 16px;
    background: var(--white);
    color: var(--accent-red);
    border: 2px solid var(--accent-red);
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-account-btn:hover {
    background: var(--accent-red);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.25);
}

.delete-account-btn:active {
    transform: scale(0.97);
}

/* ==================== DELETE CONFIRMATION MODAL ==================== */
.delete-modal {
    max-width: 520px;
}

.delete-header {
    background: linear-gradient(135deg, #c62828, #e53935);
    border-bottom: none;
}

.delete-header h2 {
    color: var(--white);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1.1rem;
}

.delete-header h2 i {
    font-size: 1rem;
}

.delete-header .modal-close {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.delete-header .modal-close:hover {
    background: rgba(255, 255, 255, 0.35);
}

.delete-modal-body {
    padding: 22px;
}

.delete-warning-card {
    text-align: center;
    padding: 20px;
    background: rgba(229, 57, 53, 0.04);
    border-radius: 12px;
    margin-bottom: 18px;
    border: 1px solid rgba(229, 57, 53, 0.1);
}

.warning-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #e53935, #ef5350);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 12px;
    color: var(--white);
    font-size: 1.5rem;
}

.delete-warning-card h3 {
    font-size: 1.05rem;
    color: var(--accent-red);
    margin-bottom: 6px;
}

.delete-warning-card p {
    font-size: 0.82rem;
    color: var(--medium-gray);
}

.delete-consequences {
    list-style: none;
    margin-bottom: 20px;
    padding: 0;
}

.delete-consequences li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.82rem;
    color: var(--dark-gray);
    border-bottom: 1px solid var(--off-white);
}

.delete-consequences li:last-child {
    border-bottom: none;
}

.delete-consequences li i {
    color: var(--accent-red);
    font-size: 0.8rem;
    flex-shrink: 0;
}

/* Reason Text Area */
.delete-reason-section {
    margin-bottom: 18px;
}

.delete-reason-textarea {
    min-height: 80px;
    resize: vertical;
    border-color: rgba(229, 57, 53, 0.2);
    transition: all 0.2s ease;
}

.delete-reason-textarea:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.08);
}

.delete-reason-textarea::placeholder {
    color: #bdbdbd;
}

/* Confirm Input */
.delete-confirm-section {
    margin-bottom: 20px;
}

.delete-confirm-input {
    border-color: rgba(229, 57, 53, 0.3);
    text-align: center;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.delete-confirm-input:focus {
    border-color: var(--accent-red);
    box-shadow: 0 0 0 3px rgba(229, 57, 53, 0.1);
}

.delete-confirm-input.valid {
    border-color: var(--accent-red);
    background: rgba(229, 57, 53, 0.03);
}

.delete-confirm-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: var(--medium-gray);
    margin-top: 8px;
}

.delete-confirm-hint i {
    color: var(--primary-green);
    flex-shrink: 0;
    font-size: 0.78rem;
}

/* Actions */
.delete-actions {
    display: flex;
    gap: 10px;
}

.btn-delete-confirm {
    flex: 1;
    padding: 13px 16px;
    background: var(--light-gray);
    color: var(--medium-gray);
    border: none;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: not-allowed;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.btn-delete-confirm.enabled {
    background: linear-gradient(135deg, #c62828, #e53935);
    color: var(--white);
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(229, 57, 53, 0.25);
}

.btn-delete-confirm.enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(229, 57, 53, 0.35);
}

.btn-delete-confirm.enabled:active {
    transform: scale(0.97);
}

.delete-actions .btn-cancel {
    flex: 1;
}

/* ==================== DELETE RESPONSIVE ==================== */
@media (max-width: 768px) {
    .delete-actions {
        flex-direction: column;
    }

    .delete-actions .btn-cancel,
    .btn-delete-confirm {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .delete-account-section {
        padding: 16px;
    }

    .delete-account-btn {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .delete-modal-body {
        padding: 16px;
    }

    .delete-warning-card {
        padding: 16px;
    }

    .warning-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }

    .delete-warning-card h3 {
        font-size: 0.95rem;
    }

    .delete-consequences li {
        padding: 8px 12px;
        font-size: 0.78rem;
    }

    .btn-delete-confirm,
    .delete-actions .btn-cancel {
        padding: 12px 14px;
        font-size: 0.82rem;
    }
}

@media (max-width: 340px) {
    .delete-account-section {
        padding: 14px;
    }

    .danger-zone-header {
        font-size: 0.82rem;
    }

    .delete-description {
        font-size: 0.75rem;
    }

    .delete-account-btn {
        padding: 10px;
        font-size: 0.75rem;
    }

    .delete-consequences li {
        padding: 6px 10px;
        font-size: 0.72rem;
    }

    .btn-delete-confirm,
    .delete-actions .btn-cancel {
        padding: 10px;
        font-size: 0.75rem;
    }
}