/* Estilos específicos para el Dashboard de Usuario
   Hereda variables y resets de dashboard.css pero sobrescribe
   el layout y diseño visual para coincidir con la "lógica de login" */

/* Fondo con imagen (como en login) */
body {
    background: url("../../public/img/R.jpeg") no-repeat center center/cover;
    background-attachment: fixed;
    min-height: 100vh;
    display: block;
    /* Sobrescribir flex del admin dashboard si es necesario */
}

.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
    /* For absolute positioning of children */
}

/* Toggle de tema posicionado en controles */
.theme-toggle {
    /* position: absolute; - Removed for better layout integration */
    z-index: 100;
}

/* Botones y Enlaces */
.btn-back-dashboard {
    text-decoration: none;
    color: #3E2723;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid rgba(62, 39, 35, 0.1);
}

.btn-back-dashboard:hover {
    background: #3E2723;
    color: white;
    transform: translateX(-3px);
}

/* Estilos para el link de regreso en el header */
.header-back-link {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    color: #3E2723;
    /* Color por defecto (Modo Claro) */
}

.header-back-link:hover {
    opacity: 0.8;
    transform: translateX(-3px);
}

.header-back-link i {
    font-size: 1.2rem;
    color: inherit;
}

.header-back-link h1 {
    font-size: 1.5rem;
    margin: 0;
    color: inherit;
    font-weight: 800;
}

/* Header transparente/glass */
.dashboard-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    position: relative;
    z-index: 100;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    background: #6B4423;
    /* Primary Color */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.user-details h2 {
    font-size: 1.2rem;
    color: #3E2723;
    margin: 0;
}

.user-details p {
    font-size: 0.9rem;
    color: #6D4C41;
    margin: 0;
}

.dashboard-controls {
    display: flex;
    align-items: center;
}

.btn-logout {
    padding: 8px 20px;
    border: 1px solid #E53935;
    color: #E53935;
    background: transparent;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-logout:hover {
    background: #E53935;
    color: white;
}

/* Mensaje de bienvenida */
.welcome-message {
    text-align: center;
    margin-bottom: 40px;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.6);
}

.welcome-message h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
}

.welcome-message p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Grid de contenido */
.dashboard-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

/* Tarjetas Glassmorphism */
.dashboard-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: inline-block;
}

.card-title {
    color: #2C1810;
    font-size: 1.4rem;
    margin: 0;
    font-weight: 700;
}

.card-description {
    color: #3E2723;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 20px;
    flex-grow: 1;
    font-weight: 500;
}

.card-action {
    background: #6B4423;
    color: white;
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
    width: 100%;
}

.card-action:hover {
    background: #8B5A3C;
}

/* Dark Mode Overrides */
[data-theme="dark"] .dashboard-header {
    background: rgba(40, 40, 40, 0.85);
    color: white;
}

[data-theme="dark"] .user-details h2 {
    color: white;
}

[data-theme="dark"] .user-details p {
    color: #ccc;
}

[data-theme="dark"] .dashboard-header h1 {
    color: white;
}

[data-theme="dark"] .header-back-link {
    color: white;
}

[data-theme="dark"] .header-left h1 {
    color: white !important;
}

[data-theme="dark"] .btn-back-dashboard {
    color: white !important;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .btn-back-dashboard:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white !important;
}

[data-theme="dark"] .user-info-mini span {
    color: white !important;
}

[data-theme="dark"] .dashboard-card {
    background: rgba(40, 40, 40, 0.9);
    color: white;
}

[data-theme="dark"] .card-title {
    color: white;
}

[data-theme="dark"] .card-description {
    color: #ccc;
}

[data-theme="dark"] .card-action {
    background: #8D6E63;
}

/* Estilos de Perfil */
.profile-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 25px;
    align-items: start;
}

.profile-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.avatar-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.profile-avatar-large {
    width: 100px;
    height: 100px;
    background: #6B4423;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.btn-upload-photo {
    margin-top: 20px;
    background: transparent;
    border: 1px solid #6B4423;
    color: #6B4423;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-upload-photo:hover {
    background: #6B4423;
    color: white;
}

.form-section h3 {
    color: #2C1810;
    border-bottom: 2px solid rgba(62, 39, 35, 0.1);
    padding-bottom: 10px;
    margin-bottom: 20px;
    font-weight: 700;
}

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

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

.form-group label {
    font-size: 0.9rem;
    font-weight: 700;
    color: #3E2723;
}

.glass-input {
    background-color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(0, 0, 0, 0.1);
    padding: 12px 15px;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s;
    color: #3E2723;
    font-family: inherit;
    appearance: none;
    width: 100%;
}

select.glass-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%233E2723' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 45px;
}

textarea.glass-input {
    resize: vertical;
    min-height: 120px;
}

.glass-input:focus {
    background-color: white;
    border-color: #6B4423;
    outline: none;
    box-shadow: 0 0 0 3px rgba(107, 68, 35, 0.1);
}

.form-actions {
    margin-top: 30px;
    text-align: right;
}

.btn-save {
    background: #6B4423;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.btn-save:hover {
    background: #8B5A3C;
}

/* Responsive Perfil */
@media (max-width: 768px) {
    .profile-container {
        grid-template-columns: 1fr;
    }
}

/* Dark Mode Perfil */
[data-theme="dark"] .profile-card {
    background: rgba(40, 40, 40, 0.9);
    color: white;
}

[data-theme="dark"] .form-section h3 {
    color: white;
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .form-group label {
    color: #ccc;
}

[data-theme="dark"] .glass-input {
    background-color: rgba(60, 60, 60, 0.5);
    border-color: #555;
    color: white;
}

[data-theme="dark"] select.glass-input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
}

[data-theme="dark"] .glass-input:focus {
    background-color: rgba(80, 80, 80, 0.8);
    border-color: #8D6E63;
}

[data-theme="dark"] .btn-upload-photo {
    border-color: white;
    color: white;
}


/* Estilos de Favoritos */
.favorites-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
    padding-bottom: 40px;
}

.favorite-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    /* For image corners */
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s, box-shadow 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}

.favorite-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.fav-image-container {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.fav-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.favorite-card:hover .fav-image-container img {
    transform: scale(1.1);
}

.btn-remove-fav {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #E53935;
    /* Red heart */
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    font-size: 1.1rem;
    transition: transform 0.2s;
}

.btn-remove-fav:hover {
    transform: scale(1.1);
}

.fav-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.fav-content h3 {
    margin: 0 0 5px 0;
    color: #2C1810;
    font-size: 1.2rem;
    font-weight: 700;
}

.fav-price {
    color: #3E2723;
    font-weight: bold;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.fav-desc {
    color: #5D4037;
    font-size: 0.9rem;
    margin-bottom: 15px;
    flex: 1;
    line-height: 1.4;
    /* Optional line clamp */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.btn-add-cart {
    background: #6B4423;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.btn-add-cart:hover {
    background: #8B5A3C;
}

/* Dark Mode Favoritos */
[data-theme="dark"] .favorite-card {
    background: rgba(40, 40, 40, 0.9);
    color: white;
}

[data-theme="dark"] .fav-content h3 {
    color: white;
}

[data-theme="dark"] .fav-price {
    color: #FFCC80;
}

[data-theme="dark"] .fav-desc {
    color: #ccc;
}


/* Estilos de Soporte */
.support-container {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding-bottom: 40px;
}

.support-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.support-card h2 {
    color: #2C1810;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 700;
}

.support-card h2 i {
    color: #6B4423;
}

/* Contact Methods */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.contact-item {
    display: flex;
    gap: 15px;
    padding: 20px;
    background: rgba(107, 68, 35, 0.05);
    border-radius: 12px;
    transition: transform 0.3s, box-shadow 0.3s;
}

.contact-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: #6B4423;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.contact-info h4 {
    margin: 0 0 5px 0;
    color: #2C1810;
    font-size: 1rem;
    font-weight: 700;
}

.contact-info p {
    margin: 0 0 5px 0;
    color: #3E2723;
    font-weight: 600;
}

.contact-info small {
    color: #5D4037;
    font-size: 0.85rem;
}

/* FAQ Section */
.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.faq-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-question {
    padding: 18px 20px;
    background: rgba(107, 68, 35, 0.05);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: rgba(107, 68, 35, 0.1);
}

.faq-question h4 {
    margin: 0;
    color: #2C1810;
    font-size: 1rem;
    font-weight: 700;
}

.faq-question i {
    color: #6B4423;
    transition: transform 0.3s;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out, padding 0.3s;
    padding: 0 20px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 15px 20px;
}

.faq-answer p {
    margin: 0;
    color: #3E2723;
    line-height: 1.6;
    font-weight: 500;
}

/* Contact Form Section */
.contact-form-section textarea.glass-input {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Dark Mode Support */
[data-theme="dark"] .support-card {
    background: rgba(40, 40, 40, 0.9);
}

[data-theme="dark"] .support-card h2 {
    color: white;
}

[data-theme="dark"] .contact-item {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .contact-info h4 {
    color: white;
}

[data-theme="dark"] .contact-info p {
    color: #FFCC80;
}

[data-theme="dark"] .contact-info small {
    color: #ccc;
}

[data-theme="dark"] .faq-item {
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .faq-question {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .faq-question:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .faq-question h4 {
    color: white;
}

[data-theme="dark"] .faq-answer p {
    color: #ccc;
}

/* Estilos de Pedidos */
.orders-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.order-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.2s;
    border-left: 5px solid transparent;
}

.order-card:hover {
    transform: translateX(5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.order-id {
    font-weight: 700;
    color: #2C1810;
    display: block;
}

.order-date {
    font-size: 0.85rem;
    color: #5D4037;
    font-weight: 500;
}

.order-items {
    color: #3E2723;
    font-weight: 500;
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.order-total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2C1810;
}

.order-footer {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

/* Badges de Estado */
.order-status {
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-prep {
    background: #E3F2FD;
    color: #1565C0;
    border: 1px solid #BBDEFB;
}

.status-ready {
    background: #FFF3E0;
    color: #E65100;
    border: 1px solid #FFE0B2;
}

.status-completed {
    background: #E8F5E9;
    color: #2E7D32;
    border: 1px solid #C8E6C9;
}

.status-cancelled {
    background: #FFEBEE;
    color: #C62828;
    border: 1px solid #FFCDD2;
}

/* Botones de Acción en Pedidos */
.btn-details,
.btn-track,
.btn-reorder {
    padding: 6px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    background: white;
    border: 1px solid #ddd;
    transition: all 0.2s;
}

.btn-details:hover {
    background: #f5f5f5;
}

.btn-track {
    color: #1565C0;
    border-color: #1565C0;
}

.btn-track:hover {
    background: #E3F2FD;
}

.btn-reorder {
    color: #6B4423;
    border-color: #6B4423;
}

.btn-reorder:hover {
    background: #EFEBE9;
}

/* Dark Mode para Pedidos */
[data-theme="dark"] .order-card {
    background: rgba(40, 40, 40, 0.9);
    color: white;
    border-bottom: 1px solid #555;
}

[data-theme="dark"] .order-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .order-id,
[data-theme="dark"] .order-total {
    color: white;
}

[data-theme="dark"] .order-date,
[data-theme="dark"] .order-items {
    color: #ccc;
}

[data-theme="dark"] .btn-details,
[data-theme="dark"] .btn-track,
[data-theme="dark"] .btn-reorder {
    background: #333;
    border-color: #555;
    color: #ddd;
}

[data-theme="dark"] .btn-details:hover {
    background: #444;
}

/* =========================================
   Estilos de Notificaciones (Campanita)
   ========================================= */

.notification-container {
    position: relative;
    margin-right: 15px;
}

.notification-btn {
    background: transparent;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #6B4423;
    position: relative;
    transition: transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

.notification-btn:hover {
    background: rgba(107, 68, 35, 0.1);
    transform: scale(1.05);
}

.notification-badge {
    position: absolute;
    top: 5px;
    right: 5px;
    background: #E53935;
    color: white;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 0.7rem;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #fff;
    animation: bounce 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounce {
    0% {
        transform: scale(0);
    }

    50% {
        transform: scale(1.2);
    }

    100% {
        transform: scale(1);
    }
}

/* Panel de Notificaciones */
.notification-panel {
    position: absolute;
    top: 60px;
    right: 0;
    width: 320px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55);
    border: 1px solid rgba(0, 0, 0, 0.1);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.notification-panel.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
    display: flex;
}

.notification-header {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(107, 68, 35, 0.05);
}

.notification-header h3 {
    margin: 0;
    font-size: 1rem;
    color: #3E2723;
}

.btn-mark-read {
    font-size: 0.8rem;
    color: #6B4423;
    background: none;
    border: none;
    cursor: pointer;
    text-decoration: underline;
}

.notification-list {
    max-height: 300px;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(107, 68, 35, 0.3) transparent;
}

.notification-list::-webkit-scrollbar {
    width: 6px;
}

.notification-list::-webkit-scrollbar-track {
    background: transparent;
}

.notification-list::-webkit-scrollbar-thumb {
    background-color: rgba(107, 68, 35, 0.3);
    border-radius: 20px;
}

/* Items de Notificación */
.notification-item {
    padding: 15px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    gap: 15px;
    transition: background 0.2s;
    cursor: pointer;
    position: relative;
    text-align: left;
}

.notification-item:hover {
    background: rgba(0, 0, 0, 0.02);
}

.notification-item.unread {
    background: rgba(107, 68, 35, 0.05);
}

.notification-item.unread:hover {
    background: rgba(107, 68, 35, 0.08);
}

.notif-icon {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: white;
}

.notification-item.order .notif-icon {
    background: #4CAF50;
    /* Green */
}

.notification-item.offer .notif-icon {
    background: #FF9800;
    /* Orange */
}

.notification-item.system .notif-icon {
    background: #2196F3;
    /* Blue */
}

.notif-content {
    flex: 1;
}

.notif-content h4 {
    margin: 0 0 5px 0;
    font-size: 0.9rem;
    color: #3E2723;
    font-weight: 700;
}

.notif-content p {
    margin: 0 0 5px 0;
    font-size: 0.8rem;
    color: #5D4037;
    line-height: 1.3;
}

.notif-time {
    font-size: 0.7rem;
    color: #9E9E9E;
}

.notif-dot {
    width: 8px;
    height: 8px;
    background: #E53935;
    border-radius: 50%;
    position: absolute;
    top: 15px;
    right: 15px;
}

.no-notifications {
    padding: 20px;
    text-align: center;
    color: #9E9E9E;
    font-size: 0.9rem;
}

/* Dark Mode Notificaciones */
[data-theme="dark"] .notification-btn {
    color: white;
}

[data-theme="dark"] .notification-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .notification-badge {
    border-color: #333;
}

[data-theme="dark"] .notification-panel {
    background: rgba(40, 40, 40, 0.95);
    border-color: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .notification-header {
    border-bottom-color: rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .notification-header h3 {
    color: white;
}

[data-theme="dark"] .btn-mark-read {
    color: #ccc;
}



[data-theme="dark"] .notification-item {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .notification-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

[data-theme="dark"] .notification-item.unread {
    background: rgba(255, 255, 255, 0.1);
}

[data-theme="dark"] .notif-content h4 {
    color: white;
}

[data-theme="dark"] .notif-content p {
    color: #ccc;
}