/* ================= SECCIÓN DE PERFIL ================= */

.profile-section {
    background-color: var(--bg-dark);
    min-height: 100vh;
}

/* Cover Image */
.profile-cover-wrapper {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.profile-cover-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.3) 50%, rgba(0, 0, 0, 0.8) 100%);
    pointer-events: none;
}

.profile-cover-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-edit-cover {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-white);
    padding: 10px 15px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    z-index: 10;
}

.btn-edit-cover:hover {
    background-color: var(--accent-orange);
    border-color: var(--accent-orange);
}

.profile-layout-container {
    display: grid;
    grid-template-columns: 240px 1fr 320px;
    gap: 30px;
    max-width: 1600px;
    margin: -80px auto 0;
    padding: 0 30px 30px;
    position: relative;
}

/* --- SIDEBAR IZQUIERDA - Navegación --- */
.profile-sidebar-left {
    width: 240px;
}

/* --- SIDEBAR DERECHA - Perfil del Usuario --- */
.profile-sidebar-right {
    width: 320px;
}

.user-profile-card {
    background-color: var(--nav-top-bg);
    border: 1px solid #2a2b30;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
}

.profile-avatar-wrapper {
    position: relative;
    width: 150px;
    height: 150px;
    display: inline-block;
}

.profile-avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    position: relative;
    z-index: 2;
}

/* Borde eléctrico principal */
.profile-avatar-wrapper::before {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    border: 5px solid var(--avatar-color, #ff5722);
    filter: url(#electric-turbulent-avatar);
    pointer-events: none;
    z-index: 1;
    animation: electricPulseAvatar 2s infinite;
}

/* Resplandor exterior */
.profile-avatar-wrapper::after {
    content: '';
    position: absolute;
    inset: -15px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        var(--avatar-glow, rgba(255, 87, 34, 0.6)) 0%,
        transparent 70%
    );
    filter: blur(15px);
    pointer-events: none;
    z-index: 0;
    opacity: 0.8;
    animation: glowPulseAvatar 2s infinite;
}

/* Animaciones */
@keyframes electricPulseAvatar {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.85;
        transform: scale(1.02);
    }
}

@keyframes glowPulseAvatar {
    0%, 100% {
        opacity: 0.6;
        transform: scale(1);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.1);
    }
}

.btn-edit-avatar {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-color: var(--avatar-color, #ff7f00);
    z-index: 10;
    border: 3px solid var(--nav-top-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-edit-avatar:hover {
    transform: scale(1.1);
}

.btn-edit-avatar i {
    color: white;
    font-size: 16px;
}

.user-header {
    margin-bottom: 15px;
}

.profile-username {
    display: block;
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--text-white);
    margin-bottom: 5px;
}

.verified-icon {
    width: 20px;
    height: 20px;
    margin-left: 6px;
    vertical-align: middle;
    display: inline-block;
    color: #1da1f2;
    filter: drop-shadow(0 0 6px rgba(29, 161, 242, 0.6));
}

.profile-name-real {
    display: block;
    font-size: 14px;
    color: var(--text-muted);
}

/* Level & XP */
.user-level-info {
    display: flex;
    flex-direction: column;
    gap: 0;
    margin-bottom: 20px;
    padding: 16px;
    background-color: #25262b;
    border-radius: 8px;
}

/* Level Badge Overlay Clean - Insignia GRANDE sin fondo */
.level-badge-overlay-clean {
    position: absolute;
    bottom: -60px;
    left: -55px;
    z-index: 10;
}

.level-icon-clean {
    width: 140px;
    height: 180px;
    object-fit: contain;
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.7));
}

/* Level Name Text - Solo texto sin badge */
.level-name-text {
    font-weight: 900;
    font-size: 18px;
    font-family: 'Sporty Pro', sans-serif;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 10px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Colores por nivel */
.level-name-text.level-bronze { color: #D2691E; }
.level-name-text.level-silver { color: #C0C0C0; }
.level-name-text.level-gold { color: #FFD700; }
.level-name-text.level-platinum { color: #00CED1; }
.level-name-text.level-diamond { 
    color: #00D9FF;
    animation: textDiamondGlow 2s infinite;
}
.level-name-text.level-master { 
    background: linear-gradient(135deg, #8B5CF6, #EC4899, #F59E0B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textMasterGlow 3s infinite;
}

/* Animaciones de texto */
@keyframes textDiamondGlow {
    0%, 100% { text-shadow: 0 2px 8px rgba(0, 217, 255, 0.6); }
    50% { text-shadow: 0 4px 16px rgba(0, 217, 255, 1); }
}

@keyframes textMasterGlow {
    0%, 100% { filter: drop-shadow(0 2px 8px rgba(139, 92, 246, 0.8)); }
    33% { filter: drop-shadow(0 4px 12px rgba(236, 72, 153, 0.8)); }
    66% { filter: drop-shadow(0 4px 12px rgba(245, 158, 11, 0.8)); }
}

/* Level Range Text - Rango de dinero */
.level-range-text {
    font-size: 12px;
    color: var(--text-muted);
    font-family: 'Chakra Petch', sans-serif;
    text-align: center;
    margin-top: 8px;
    display: block;
}

/* Estilos antiguos del level badge - mantener por compatibilidad */
.level-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 900;
    font-size: 13px;
    padding: 8px 14px;
    border-radius: 8px;
    flex-shrink: 0;
    border: 2px solid;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.level-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.level-text {
    font-family: 'Sporty Pro', sans-serif;
    letter-spacing: 0.5px;
}

/* Colores por Nivel - Bronze */
.level-badge.level-bronze {
    background: linear-gradient(135deg, #8B4513, #D2691E);
    border-color: #CD853F;
    color: #FFF;
}

/* Colores por Nivel - Silver */
.level-badge.level-silver {
    background: linear-gradient(135deg, #A8A8A8, #C0C0C0);
    border-color: #E0E0E0;
    color: #2a2b30;
}

/* Colores por Nivel - Gold */
.level-badge.level-gold {
    background: linear-gradient(135deg, #FFD700, #FFA500);
    border-color: #FFED4E;
    color: #2a2b30;
}

/* Colores por Nivel - Platinum */
.level-badge.level-platinum {
    background: linear-gradient(135deg, #00CED1, #1E90FF);
    border-color: #00FFFF;
    color: #FFF;
}

/* Colores por Nivel - Diamond */
.level-badge.level-diamond {
    background: linear-gradient(135deg, #00D9FF, #7FFFD4);
    border-color: #00FFFF;
    color: #2a2b30;
    animation: diamondGlow 2s infinite;
}

@keyframes diamondGlow {
    0%, 100% { box-shadow: 0 4px 12px rgba(0, 217, 255, 0.5); }
    50% { box-shadow: 0 6px 20px rgba(0, 217, 255, 0.8); }
}

/* Colores por Nivel - Master */
.level-badge.level-master {
    background: linear-gradient(135deg, #8B5CF6, #EC4899, #F59E0B);
    border-color: #FCD34D;
    color: #FFF;
    animation: masterGlow 3s infinite;
}

@keyframes masterGlow {
    0%, 100% { box-shadow: 0 4px 16px rgba(139, 92, 246, 0.6); }
    33% { box-shadow: 0 6px 20px rgba(236, 72, 153, 0.6); }
    66% { box-shadow: 0 6px 20px rgba(245, 158, 11, 0.6); }
}

/* XP Bar Container */
.xp-bar-container {
    flex-grow: 1;
    height: 10px;
    background-color: #33353d;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid #3a3b40;
}

/* XP Bar Fill - Colores por Nivel */
.xp-bar-fill {
    height: 100%;
    transition: width 0.5s ease;
    position: relative;
}

.xp-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Bronze Bar */
.xp-bar-fill.level-bronze {
    background: linear-gradient(90deg, #8B4513, #D2691E, #CD853F);
}

/* Silver Bar */
.xp-bar-fill.level-silver {
    background: linear-gradient(90deg, #A8A8A8, #C0C0C0, #E0E0E0);
}

/* Gold Bar */
.xp-bar-fill.level-gold {
    background: linear-gradient(90deg, #FFD700, #FFA500, #FFED4E);
}

/* Platinum Bar */
.xp-bar-fill.level-platinum {
    background: linear-gradient(90deg, #00CED1, #1E90FF, #00FFFF);
}

/* Diamond Bar */
.xp-bar-fill.level-diamond {
    background: linear-gradient(90deg, #00D9FF, #7FFFD4, #00FFFF);
}

/* Master Bar */
.xp-bar-fill.level-master {
    background: linear-gradient(90deg, #8B5CF6, #EC4899, #F59E0B, #FCD34D);
}

/* Progress Text */
.level-progress-text {
    font-size: 11px;
    color: var(--text-muted);
    font-family: 'Chakra Petch', sans-serif;
    margin-top: 4px;
}

.profile-bio {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    line-height: 1.6;
}

.profile-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 12px;
    color: #666;
    padding-top: 15px;
    border-top: 1px solid #2a2b30;
}

.profile-stats strong {
    color: var(--text-white);
}

/* Navigation Menu */
.profile-nav-menu {
    background-color: var(--nav-top-bg);
    border: 1px solid #2a2b30;
    border-radius: 12px;
    padding: 10px 0;
}

.profile-nav-menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-nav-menu li a {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 25px;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-muted);
    transition: all 0.2s;
}

.profile-nav-menu li a i {
    font-size: 16px;
    width: 20px;
}

.profile-nav-menu li:hover a {
    color: var(--text-white);
    background-color: #25262b;
}

.profile-nav-menu li a.active {
    color: var(--accent-orange);
    background-color: #33353d;
    border-left: 4px solid var(--accent-orange);
    padding-left: 21px;
}

.profile-nav-menu li.logout-link a {
    color: #f44336;
    border-top: 1px solid #2a2b30;
    margin-top: 10px;
    padding-top: 20px;
}

/* --- CONTENIDO CENTRAL --- */
.profile-content-center {
    flex-grow: 1;
    min-width: 0;
}

.content-section {
    display: none;
}

.content-section.active {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-title {
    font-size: 26px;
    font-weight: 900;
    color: var(--text-white);
    margin: 0 0 5px;
}

.content-description {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* Stats Grid (Resumen) */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background-color: var(--nav-top-bg);
    border: 1px solid #2a2b30;
    border-radius: 12px;
    padding: 25px;
    text-align: center;
    transition: transform 0.2s;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 32px;
    color: var(--accent-orange);
    margin-bottom: 15px;
}

.stat-value {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--text-white);
    margin-bottom: 10px;
    font-family: 'Sporty Pro', sans-serif;
}

.stat-label {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.5px;
    margin-top: 5px;
}

/* Settings Cards */
.settings-card {
    background-color: var(--nav-top-bg);
    border: 1px solid #2a2b30;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 25px;
}

/* Ocultar elementos móviles por defecto (se muestran en media query de móvil) */
.mobile-profile-card,
.mobile-nav-grid,
.mobile-back-button {
    display: none;
}

/* Empty states */
.empty-orders {
    text-align: center;
    padding: 60px 20px;
}

.empty-orders i {
    font-size: 80px;
    color: #3a3b40;
    margin-bottom: 20px;
}

.empty-orders p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-browse-products {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: var(--accent-orange);
    color: var(--text-white);
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-browse-products:hover {
    background-color: #ff6a3d;
    transform: translateY(-2px);
}

/* Orders Table */
.table-container {
    background: var(--nav-top-bg);
    border: 1px solid #2a2b30;
    border-radius: 12px;
    overflow: hidden;
}

.orders-table {
    width: 100%;
    border-collapse: collapse;
}

.orders-table thead {
    background: #25262b;
}

.orders-table thead th {
    padding: 18px 20px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid #2a2b30;
}

.orders-table tbody tr {
    border-bottom: 1px solid #2a2b30;
    transition: background 0.2s;
}

.orders-table tbody tr:last-child {
    border-bottom: none;
}


.orders-table tbody td {
    padding: 18px 20px;
    font-size: 14px;
    color: var(--text-white);
    vertical-align: middle;
}

.order-code {
    color: var(--accent-orange);
    font-family: 'Sporty Pro', sans-serif;
    font-size: 15px;
}

.order-products {
    color: var(--text-white);
    max-width: 300px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.order-vendor {
    color: var(--text-muted);
    font-size: 13px;
}

.order-status-cell {
    text-align: center;
}

.order-amount {
    color: var(--accent-orange);
    font-size: 16px;
    font-family: 'Sporty Pro', sans-serif;
}

.order-delivery {
    color: var(--text-muted);
    font-size: 13px;
    font-style: italic;
}

.order-actions {
    text-align: center;
    display: flex;
    gap: 8px;
    justify-content: center;
    align-items: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: var(--avatar-color, #ff7f00);
    color: white;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-action:hover {
    transform: scale(1.1);
    border-color: var(--avatar-color, #ff7f00);
    box-shadow: 0 4px 12px var(--avatar-glow, rgba(255, 127, 0, 0.4));
}

.btn-action i {
    font-size: 16px;
    color: white;
}

.btn-action.disabled {
    background-color: #4a4a4a;
    cursor: not-allowed;
    opacity: 0.5;
}

.btn-action.disabled:hover {
    transform: none;
    border-color: transparent;
    box-shadow: none;
}

.order-status {
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
}

/* Badges de estado */
.order-status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-status-badge.pending {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.order-status-badge.processing {
    background: rgba(33, 150, 243, 0.2);
    color: #2196f3;
    border: 1px solid rgba(33, 150, 243, 0.3);
}

.order-status-badge.on-hold {
    background: rgba(255, 152, 0, 0.2);
    color: #ff9800;
    border: 1px solid rgba(255, 152, 0, 0.3);
}

.order-status-badge.completed {
    background: rgba(76, 175, 80, 0.2);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.order-status-badge.cancelled {
    background: rgba(244, 67, 54, 0.2);
    color: #f44336;
    border: 1px solid rgba(244, 67, 54, 0.3);
}

.order-status-badge.refunded {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
    border: 1px solid rgba(156, 39, 176, 0.3);
}

.order-status-badge.failed {
    background: rgba(158, 158, 158, 0.2);
    color: #9e9e9e;
    border: 1px solid rgba(158, 158, 158, 0.3);
}

.status-pending {
    background-color: rgba(255, 152, 0, 0.2);
    color: #ff9800;
}

.status-processing {
    background-color: rgba(33, 150, 243, 0.2);
    color: #2196f3;
}

.status-on-hold {
    background-color: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.status-completed {
    background-color: rgba(76, 175, 80, 0.2);
    color: #4caf50;
}

.status-cancelled,
.status-failed {
    background-color: rgba(244, 67, 54, 0.2);
    color: #f44336;
}

.status-refunded {
    background-color: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
}

.order-items {
    margin-bottom: 15px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    transition: background 0.2s;
}

.order-item:hover {
    background: rgba(255, 255, 255, 0.04);
}

.order-item img {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    object-fit: cover;
    border: 1px solid #2a2b30;
}

.item-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-name {
    color: var(--text-white);
    font-size: 15px;
    font-weight: 600;
}

.item-qty {
    color: var(--text-muted);
    font-size: 13px;
}

.item-price {
    font-size: 16px;
    font-weight: 600;
    color: var(--accent-orange);
}

.item-quantity {
    color: var(--text-muted);
    font-size: 13px;
}

.more-items {
    color: var(--text-muted);
    font-size: 13px;
    margin-top: 10px;
    text-align: center;
}

.order-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 15px;
    border-top: 1px solid #2a2b30;
    flex-wrap: wrap;
    gap: 15px;
}

.order-total {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.order-total span {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.order-total strong {
    font-size: 22px;
    font-weight: 700;
    color: var(--accent-orange);
    font-family: 'Sporty Pro', sans-serif;
}

.order-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #25d366;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-whatsapp:hover {
    background-color: #20ba5a;
    transform: translateY(-2px);
}

.btn-view-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    border: 1px solid #2a2b30;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
}

.btn-view-order:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-orange);
    transform: translateY(-2px);
}

.btn-pay-order {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, var(--accent-orange), #ff6a3d);
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-pay-order:hover {
    background: linear-gradient(135deg, #ff6a3d, #ff5722);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 87, 34, 0.3);
}

.btn-reorder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(76, 175, 80, 0.1);
    color: #4caf50;
    border: 1px solid rgba(76, 175, 80, 0.3);
    padding: 10px 20px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.3s;
    cursor: pointer;
}

.btn-reorder:hover {
    background-color: rgba(76, 175, 80, 0.2);
    border-color: #4caf50;
    transform: translateY(-2px);
}

/* Modal Styles */
.password-modal-overlay,
.address-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    animation: fadeIn 0.3s;
}

.password-modal,
.address-modal {
    background-color: var(--nav-top-bg);
    border: 1px solid #2a2b30;
    border-radius: 12px;
    width: 90%;
    max-width: 500px;
    max-height: 90vh;
    overflow-y: auto;
    animation: slideUp 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #2a2b30;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: var(--text-white);
}

.modal-body {
    padding: 25px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background-color: #1e1f24;
    border: 1px solid #2a2b30;
    border-radius: 8px;
    color: var(--text-white);
    font-size: 14px;
    transition: all 0.3s;
}

.form-input:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.checkbox-label span {
    font-size: 14px;
    color: var(--text-white);
}

.modal-footer {
    padding: 20px 25px;
    border-top: 1px solid #2a2b30;
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.btn-cancel-modal {
    background-color: transparent;
    border: 1px solid #2a2b30;
    color: var(--text-white);
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-cancel-modal:hover {
    background-color: #2a2b30;
}

.btn-save-password,
.btn-save-address {
    background-color: var(--accent-orange);
    border: none;
    color: white;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-save-password:hover,
.btn-save-address:hover {
    background-color: #ff6a3d;
}

/* Addresses List */
.addresses-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.address-card {
    background-color: #1e1f24;
    border: 1px solid #2a2b30;
    border-radius: 10px;
    padding: 20px;
    position: relative;
    transition: all 0.3s;
}

.address-card:hover {
    border-color: var(--accent-orange);
}

.address-card.default {
    background-color: rgb(12 12 12 / 27%);
}

.default-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: var(--accent-orange);
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
}

.address-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 15px;
}

.address-card p {
    font-size: 14px;
    color: var(--text-muted);
    margin: 5px 0;
    line-height: 1.5;
}

.address-actions {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #2a2b30;
    flex-wrap: wrap;
}

.btn-edit-address {
    flex: 1;
    background-color: transparent;
    border: 1px solid #93ff85;
    color: #cbcbcb;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.btn-edit-address:hover {
    background-color: var(--accent-purple);
    color: white;
}

.btn-set-default {
    flex: 1;
    background-color: transparent;
    border: 1px solid var(--accent-orange);
    color: var(--accent-orange);
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    transition: all 0.3s;
}

.btn-set-default:hover {
    background-color: var(--accent-orange);
    color: white;
}

.btn-delete-address {
    background-color: transparent;
    border: 1px solid #f44336;
    color: #f44336;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 13px;
    transition: all 0.3s;
}

.btn-delete-address:hover {
    background-color: #f44336;
    color: white;
}

.card-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    border-bottom: 1px solid #33353d;
    padding-bottom: 15px;
}

.card-title i {
    color: var(--accent-purple);
}

.setting-item {
    margin-bottom: 20px;
}

.setting-item label {
    display: block;
    font-size: 13px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 8px;
}

.setting-item input[type="text"],
.setting-item input[type="email"],
.setting-item input[type="password"],
.setting-item textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #25262b;
    border: 1px solid #33353d;
    color: var(--text-white);
    border-radius: 8px;
    font-size: 14px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.setting-item input:focus,
.setting-item textarea:focus {
    outline: none;
    border-color: var(--accent-orange);
}

.setting-item input:disabled {
    color: var(--text-muted);
    background-color: #1e1f23;
    cursor: not-allowed;
}

.setting-item textarea {
    resize: vertical;
    min-height: 80px;
}

.password-group {
    display: flex;
    gap: 10px;
}

.password-group input {
    flex: 1;
}

.btn-save-changes,
.btn-change-password,
.btn-add-address {
    background-color: var(--accent-orange);
    color: var(--text-white) !important;
    font-weight: 700;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
    font-size: 14px;
}

.btn-save-changes:hover,
.btn-change-password:hover,
.btn-add-address:hover {
    background-color: #e64a19;
    transform: translateY(-2px);
}

/* --- RESPONSIVE --- */
@media (max-width: 1200px) {
    .profile-layout-container {
        grid-template-columns: 200px 1fr 280px;
        gap: 20px;
    }
    
    .profile-sidebar-left {
        width: 200px;
    }
    
    .profile-sidebar-right {
        width: 280px;
    }
}

@media (max-width: 992px) {
    /* Layout principal: solo columna central */
    .profile-layout-container {
        grid-template-columns: 1fr !important;
        margin-top: -100px !important;
        padding: 0 !important;
        gap: 0 !important;
        min-height: 100vh;
    }

    /* Ocultar sidebars en móvil */
    .profile-sidebar-left,
    .profile-sidebar-right {
        display: none !important;
    }
    
    /* Contenido ocupa todo */
    .profile-content-center {
        width: 100% !important;
        padding: 0 !important;
    }
    
    /* Cover más pequeño */
    .profile-cover-wrapper {
        height: 250px !important;
        margin-bottom: 0;
    }
    
    /* Card de perfil móvil */
    .mobile-profile-card {
        display: block !important;
        text-align: center;
        padding: 80px 20px 30px;
        background: linear-gradient(180deg, transparent 0%, var(--body-bg) 40%);
        margin-top: -80px;
        position: relative;
    }
    
    /* Insignia de nivel en mobile */
    .mobile-profile-card .level-badge-overlay-clean {
        position: absolute;
                bottom: -24px;
        left: -23px;
        z-index: 10;
    }
    
    .mobile-profile-card .level-icon-clean {
        width: 120px;
        height: 150px;
        object-fit: contain;
        filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.7));
    }
    
    .mobile-profile-card .mobile-avatar-wrapper {
        width: 120px;
        height: 120px;
        margin: 0 auto 15px;
        position: relative;
    }
    
    .mobile-profile-card .mobile-avatar {
        width: 120px;
        height: 120px;
        border-radius: 50%;
        object-fit: cover;
        position: relative;
        z-index: 2;
    }
    
    /* Borde eléctrico del avatar móvil en perfil */
    .mobile-profile-card .mobile-avatar-wrapper::before {
        content: '';
        position: absolute;
        inset: -3px;
        border-radius: 50%;
        border: 4px solid var(--avatar-color, var(--accent-orange));
        pointer-events: none;
        z-index: 1;
        animation: electricPulseMobile 2s infinite;
        box-shadow: 0 0 15px var(--avatar-glow, rgba(255, 87, 34, 0.6));
    }
    
    .mobile-profile-card .mobile-avatar-wrapper::after {
        content: '';
        position: absolute;
        inset: -10px;
        border-radius: 50%;
        background: radial-gradient(
            circle,
            var(--avatar-glow, rgba(255, 87, 34, 0.4)) 0%,
            transparent 70%
        );
        filter: blur(10px);
        pointer-events: none;
        z-index: 0;
        opacity: 0.8;
        animation: glowPulseMobile 2s infinite;
    }
    
    @keyframes electricPulseMobile {
        0%, 100% {
            opacity: 1;
            transform: scale(1);
        }
        50% {
            opacity: 0.85;
            transform: scale(1.02);
        }
    }
    
    @keyframes glowPulseMobile {
        0%, 100% {
            opacity: 0.6;
            transform: scale(1);
        }
        50% {
            opacity: 0.9;
            transform: scale(1.1);
        }
    }
    
    .mobile-profile-card .mobile-avatar-wrapper .btn-edit-avatar {
        position: absolute;
        bottom: 0;
        right: 0;
        width: 35px;
        height: 35px;
        background-color: var(--avatar-color, var(--accent-orange));
        border: 3px solid var(--body-bg);
        border-radius: 50%;
        color: var(--text-white);
        font-size: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s;
    }
    
    .mobile-profile-card .mobile-avatar-wrapper .btn-edit-avatar:hover {
        transform: scale(1.1);
    }
    
    .mobile-username {
        font-size: 24px;
        font-weight: 900;
        color: var(--text-white);
        margin-bottom: 5px;
        font-family: 'Sporty Pro', sans-serif;
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
    }
    
    .mobile-user-email {
        font-size: 13px;
        color: var(--text-muted);
        margin-bottom: 15px;
    }
    
    .mobile-user-bio {
        font-size: 14px;
        color: var(--text-white);
        line-height: 1.6;
        max-width: 300px;
        margin: 0 auto;
    }
    
    /* Botón de retroceso móvil flotante - abajo izquierda */
    .mobile-back-button {
        display: none;
        position: fixed;
        bottom: 20px;
        left: 20px;
        width: 50px;
        height: 50px;
        background-color: var(--accent-orange);
        border: none;
        border-radius: 50%;
        color: var(--text-white);
        font-size: 20px;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 9999;
        box-shadow: 0 4px 12px rgba(255, 87, 34, 0.5);
        transition: all 0.3s;
    }
    
    .mobile-back-button:hover {
        background-color: #ff6a3d;
        transform: scale(1.1);
    }
    
    .mobile-back-button:active {
        transform: scale(0.95);
    }
    
    .mobile-back-button i {
        margin: 0;
    }

    
    /* Sección Resumen */
    #section-resumen {
        background: transparent !important;
        padding: 0 !important;
        border: none !important;
    }
    
    #section-resumen .content-title,
    #section-resumen .content-description {
        display: none !important;
    }
    
    /* Stats grid: 3 columnas compactas */
    .stats-grid {
        display: grid !important;
        grid-template-columns: repeat(3, 1fr) !important;
        gap: 0 !important;
        padding: 0 !important;
        background-color: var(--nav-top-bg) !important;
        border-radius: 0 !important;
        margin: 0 !important;
        border-top: 1px solid #2a2b30;
        border-bottom: 1px solid #2a2b30;
    }
    
    .stat-card {
        background: transparent !important;
        border: none !important;
        border-right: 1px solid #2a2b30 !important;
        padding: 20px 10px !important;
        text-align: center;
    }
    
    .stat-card:last-child {
        border-right: none !important;
    }
    
    .stat-card:hover {
        transform: none !important;
    }
    
    .stat-icon {
        display: none !important;
    }
    
    .stat-value {
        font-size: 22px !important;
        margin-bottom: 8px !important;
        display: block !important;
    }
    
    .stat-label {
        font-size: 10px !important;
        letter-spacing: 0.5px !important;
        display: block !important;
    }
    
    /* Navegación móvil */
    .mobile-nav-grid {
        display: flex !important;
        flex-direction: column;
        padding: 0;
        background-color: var(--nav-top-bg);
        margin-bottom: 20px;
    }
    
    .mobile-nav-item {
        display: flex;
        align-items: center;
        padding: 18px 20px;
        color: var(--text-white);
        text-decoration: none;
        border-bottom: 1px solid #2a2b30;
        transition: background 0.2s;
    }
    
    .mobile-nav-item:hover {
        background-color: rgba(255, 87, 34, 0.1);
    }
    
    .mobile-nav-item.active {
        background-color: rgba(255, 87, 34, 0.15);
    }
    
    .mobile-nav-item i:first-child {
        font-size: 18px;
        color: var(--accent-orange);
        width: 30px;
    }
    
    .mobile-nav-item span {
        flex: 1;
        font-size: 15px;
        font-weight: 600;
        margin-left: 15px;
    }
    
    .mobile-nav-item i:last-child {
        font-size: 14px;
        color: var(--text-muted);
        transition: transform 0.3s;
    }
    
    .mobile-nav-item.active i:last-child {
        transform: rotate(90deg);
    }
    
    .mobile-nav-logout {
        border-bottom: none;
        color: #f44336;
    }
    
    .mobile-nav-logout i:first-child {
        color: #f44336;
    }
    
    /* Ocultar en desktop */
    .mobile-nav-grid {
        display: none;
    }
    
    /* Otras secciones: Desplegar debajo de navegación */
    .content-section:not(#section-resumen) {
        display: none;
        background-color: var(--body-bg) !important;
        padding: 20px !important;
        margin: 0 !important;
        border: none !important;
    }
    
    .content-section:not(#section-resumen).active {
        display: block !important;
    }
    
    .content-section:not(#section-resumen) .content-title {
        font-size: 20px !important;
        margin-bottom: 15px !important;
        padding: 0 !important;
        color: var(--text-white);
    }
    
    .content-description {
        font-size: 13px !important;
        margin-bottom: 20px !important;
        color: var(--text-muted);
    }
    
    .password-group {
        flex-direction: column;
    }
    
    /* Favoritos grid en móvil */
    .favorites-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
    }
    
    /* Settings cards */
    .settings-card {
        padding: 20px 15px !important;
    }
    
    /* Orders table responsive */
    .table-container {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .orders-table {
        min-width: 900px;
    }
    
    .orders-table thead th {
        padding: 15px 12px !important;
        font-size: 11px !important;
    }
    
    .orders-table tbody td {
        padding: 15px 12px !important;
        font-size: 13px !important;
    }
    
    .order-code {
        font-size: 14px !important;
    }
    
    .order-products {
        max-width: 200px !important;
    }
    
    .order-amount {
        font-size: 15px !important;
    }
    
    .btn-whatsapp-support {
        padding: 8px 12px !important;
        font-size: 12px !important;
    }
    
    .btn-whatsapp-support span {
        display: none;
    }
    
    .btn-whatsapp-support i {
        margin-right: 0 !important;
    }
}

@media (max-width: 480px) {
    .profile-cover-wrapper {
        height: 200px;
    }

    .profile-avatar {
        width: 120px;
        height: 120px;
    }

    .profile-avatar-wrapper {
        width: 120px;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }
}
/* Insignia de nivel sobre avatar */
.level-badge-overlay-clean {
    position: absolute;
    bottom: -22px;
    left: -32px;
    z-index: 10;
}

/* Responsive - Móvil */
@media (max-width: 768px) {
    .level-badge-overlay-clean {
        bottom: -15px;
        left: -20px;
    }
    
    .level-badge-overlay-clean img {
        width: 70px !important;
        height: 70px !important;
    }
}

/* Responsive - Tablet */
@media (min-width: 769px) and (max-width: 1024px) {
    .level-badge-overlay-clean {
        bottom: -18px;
        left: -25px;
    }
    
    .level-badge-overlay-clean img {
        width: 80px !important;
        height: 80px !important;
    }
}

/* Desktop - Mantiene 90px */
@media (min-width: 1025px) {
    .level-badge-overlay-clean img {
        width: 90px !important;
        height: 90px !important;
    }
}/* ============================================
   ESTILOS PARA SECCIÓN DE CRÉDITOS Y PUNTOS
   Agregar al final de profile-styles.css
   ============================================ */

/* Tarjetas de estadísticas de crédito */
.credit-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.credit-stat-card {
    background: linear-gradient(135deg, var(--nav-top-bg) 0%, #25262b 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
}

.credit-stat-card:hover {
    transform: translateY(-2px);
    border-color: var(--accent-orange);
    box-shadow: 0 8px 20px rgba(255, 87, 34, 0.2);
}

.credit-card-main {
    border-left: 4px solid var(--accent-green);
}

.points-card-main {
    border-left: 4px solid var(--accent-orange);
}

.credit-card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--accent-green), #00d9ff);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: white;
    flex-shrink: 0;
}

.points-icon {
    background: linear-gradient(135deg, var(--accent-orange), #ff6b3d);
}

.credit-card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.credit-card-label {
    font-size: 13px;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.credit-card-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-green);
    font-family: 'Orbitron', monospace;
}

.points-value {
    color: var(--accent-orange);
}

/* Card de información */
.credit-info-card {
    background: var(--nav-top-bg);
    border: 1px solid rgba(6, 255, 131, 0.2);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 30px;
}

.info-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    color: var(--accent-green);
}

.info-header i {
    font-size: 24px;
}

.info-header h3 {
    margin: 0;
    font-size: 18px;
    color: var(--text-white);
}

.info-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.info-content li {
    padding: 10px 0;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.info-content li:last-child {
    border-bottom: none;
}

.info-content li strong {
    color: var(--text-white);
}

/* Sección de canje */
.redemption-section {
    background: var(--nav-top-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
    margin-bottom: 30px;
}

.redemption-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 8px 0;
}

.redemption-description {
    color: var(--text-muted);
    margin: 0 0 25px 0;
    font-size: 14px;
}

.redemption-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.redemption-option {
    background: linear-gradient(135deg, #2a2b30 0%, #1e1f23 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.redemption-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-orange), #ff6b3d);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.redemption-option:hover {
    transform: translateY(-4px);
    border-color: var(--accent-orange);
    box-shadow: 0 10px 30px rgba(255, 87, 34, 0.3);
}

.redemption-option:hover::before {
    opacity: 0.1;
}

.redemption-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.redemption-option.disabled:hover {
    transform: none;
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: none;
}

.redemption-points {
    font-size: 28px;
    font-weight: 800;
    color: var(--accent-orange);
    margin-bottom: 8px;
    position: relative;
    z-index: 1;
}

.redemption-arrow {
    font-size: 20px;
    color: var(--text-muted);
    margin: 8px 0;
    position: relative;
    z-index: 1;
}

.redemption-credit {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-green);
    font-family: 'Orbitron', monospace;
    position: relative;
    z-index: 1;
}

.redemption-percent {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 5px;
    position: relative;
    z-index: 1;
}

.loading-redemption,
.loading-history {
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
}

.loading-redemption i,
.loading-history i {
    font-size: 32px;
    margin-bottom: 10px;
    color: var(--accent-orange);
}

/* Historial de transacciones */
.credit-history-section {
    background: var(--nav-top-bg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 25px;
}

.history-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--text-white);
    margin: 0 0 20px 0;
}

.history-container {
    max-height: 500px;
    overflow-y: auto;
}

.history-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 15px;
    transition: all 0.2s ease;
}

.history-item:hover {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.1);
}

.history-icon {
    width: 45px;
    height: 45px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.history-icon.type-redeemed {
    background: linear-gradient(135deg, var(--accent-orange), #ff6b3d);
    color: white;
}

.history-icon.type-used {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
}

.history-icon.type-earned {
    background: linear-gradient(135deg, var(--accent-green), #00d9ff);
    color: white;
}

.history-details {
    flex: 1;
}

.history-type {
    font-size: 14px;
    font-weight: 700;
    color: var(--text-white);
    margin-bottom: 3px;
}

.history-description {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

.history-amount {
    text-align: right;
}

.history-value {
    font-size: 18px;
    font-weight: 800;
    font-family: 'Orbitron', monospace;
}

.history-value.positive {
    color: var(--accent-green);
}

.history-value.negative {
    color: #ff6b3d;
}

.history-date {
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 3px;
}

.empty-history {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-muted);
}

.empty-history i {
    font-size: 48px;
    margin-bottom: 15px;
    opacity: 0.3;
}

.empty-history p {
    margin: 0;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .credit-stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .credit-card-value {
        font-size: 28px;
    }
    
    .redemption-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .redemption-points {
        font-size: 24px;
    }
    
    .redemption-credit {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .redemption-grid {
        grid-template-columns: 1fr;
    }
    
    .credit-stat-card {
        padding: 20px;
    }
    
    .credit-card-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
}