/* =============================================
 * EZVINO WINE THEME
 * Override base.css neutral colors with wine/burgundy palette
 * ============================================= */

:root {
    /* ===== WINE BRAND COLORS ===== */
    
    /* Brand Colors */
    --brand-primary: #8b0000;
    --brand-secondary: #A52A2A;
    --wine-gold: #d4af37;
    --wine-cream: #f8f9fa;
    --wine-dark: #8b0000;
    
    /* Status Colors */
    --success-green: #D4EDDA;
    --success-dark-green: #20c997;
    --danger-red: #dc3545;
    --info-blue: #17a2b8;
   
    /* Text Colors */
    --text-french: #000000;
    --text-english: #000000;
    --text-light: #666666;
    --text-white: #ffffff;
    --text-dark: #1f2937;
    --text-medium: #555555;
    --text-primary: #333333;
   
    /* Backgrounds */
    --bg-light: #f8f9fa;
    --bg-white: #ffffff;
    --bg-card: rgba(255, 255, 255, 0.95);
    --bg-overlay: rgba(0, 0, 0, 0.5);
   
    /* Borders & Shadows */
    --border-light: #e5e7eb;
}

/* ===== WINE-SPECIFIC COLOR OVERRIDES ===== */

/* Auth container */
.auth-container {
    background: #000000;
}

.auth-card {
    background: #000000;
}

/* Pin/Auth errors with wine colors */
.pin-error,
.auth-error {
    background: #fee;
    color: #dc2626;
}

/* Code digit focus states */
.code-digit:focus {
    border-color: #7c2d12;
    box-shadow: 0 0 0 3px rgba(124, 45, 18, 0.1);
}

.code-digit:not(:placeholder-shown) {
    border-color: #10b981;
    background: #f0fdf4;
}

/* Modal lang button wine colors */
.modal-lang-btn:hover {
    color: #7c2d12;
    background: rgba(124, 45, 18, 0.1);
}

.modal-lang-btn.active {
    background: #7c2d12;
}

/* Auth email sent emphasis */
.auth-email-sent strong {
    color: #7c2d12;
}

/* Button colors */
.btn-success:hover {
    background: #218838;
}

.btn-danger:hover {
    background: #c82333;
}

/* Logout button hover */
.logout-btn:hover {
    background: #6d0000;
}

/* Edit button hover */
.edit-btn:hover {
    background: #138496;
}

/* Delete button hover */
.delete-btn:hover {
    background: #c82333;
}

/* Super admin items - wine gradient */
.super-admin-item {
    background: #ffffff;
}

.super-admin-item.active {
    background: linear-gradient(135deg, #7c2d12 0%, #991b1b 100%);
}

/* Winery select wine focus */
.winery-select:hover,
.winery-select:focus {
    border-color: #7c2d12;
}

.winery-select:focus {
    box-shadow: 0 0 0 3px rgba(124, 45, 18, 0.1);
}

/* Selector label wine color */
.selector-label {
    color: #7c2d12;
}

/* Super admin delete button */
.super-admin-delete-btn:hover {
    background: #c0392b;
}

/* Category colors - wine themed */
.category-red { background: #ffebee; color: #c62828; }
.category-white { background: #fff8e1; color: #f57f17; }
.category-rose { background: #fce4ec; color: #ad1457; }
.category-sparkling { background: #e3f2fd; color: #1565c0; }
.category-dessert { background: #f3e5f5; color: #7b1fa2; }
.category-port { background: #e8f5e8; color: #2e7d32; }
.category-cider { background: #fff3e0; color: #ef6c00; }

/* Plateau image wine gradient */
.plateau-image {
    background: linear-gradient(135deg, #f9ca24, #f0932b);
}

/* Plateau name english wine color */
.plateau-name-en {
    color: #722f37;
}

/* Quantity range wine color */
.quantity-range {
    background: #17a2b8;
}

/* Event card image placeholder - wine gradient */
.event-card-image-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* Event stat badges - wine colors */
.event-stat-badge {
    background: #e3f2fd;
    color: #1976d2;
}

.event-stat-badge.emails {
    background: #f3e5f5;
    color: #7b1fa2;
}

/* Event box placeholder - wine gradient */
.event-box-placeholder {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* QR download button wine colors */
.event-qr-download-btn:hover {
    background: #c62828;
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.2);
}

/* Event box number wine color */
.event-box-number {
    color: #8b0000;
}

/* Draw animation wine gradient */
.draw-animation-container {
    background: linear-gradient(135deg, #fff4b5 0%, #e3ac66 100%);
}

/* Winner display wine gradient */
.winner-display {
    background: linear-gradient(135deg, #fff4b5 0%, #e3ac66 100%);
}

.winner-title {
    color: white;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

/* Filter tab wine colors */
.filter-tab:hover {
    background: rgba(139, 0, 0, 0.05);
}

.filter-tab.active {
    box-shadow: 0 2px 8px rgba(139, 0, 0, 0.3);
}

/* Winery card hover wine border */
.winery-card:hover {
    border-color: #8b0000;
}

/* Clickable logo wine shadow */
.clickable-logo:hover {
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.2);
}

/* Draw mode button wine colors */
.draw-mode-btn:hover:not(:disabled) {
    background: linear-gradient(135deg, #fff5f5 0%, #ffffff 100%);
    box-shadow: 0 4px 12px rgba(139, 0, 0, 0.15);
}

.draw-mode-btn:active:not(:disabled) {
    box-shadow: 0 2px 6px rgba(139, 0, 0, 0.1);
}

/* Confirm winner button wine hover */
.btn-confirm-winner:hover:not(:disabled) {
    box-shadow: 0 4px 12px rgba(32, 201, 151, 0.3);
}

/* Session banner warning wine colors */
.session-banner.warning {
    background: #fff3cd;
    color: #856404;
    border-bottom-color: #ffc107;
}

.session-banner.warning .session-banner-btn {
    background: #856404;
}

.session-banner.warning .session-banner-btn:hover {
    background: #6d5303;
}

/* Warning box wine colors */
.warning-box {
    background: #fff3cd;
    border-left-color: #ffc107;
}

.warning-box p {
    color: #856404;
}

/* Error message wine colors */
.error-message {
    background: #f8d7da;
    color: #dc3545;
}

/* Toast error wine color */
.toast-notification.error {
    background: #dc3545;
}

/* ========================================
   EMAIL CARDS - Wine Theme Tint
======================================== */

.email-card-customizable {
    border-left-color: var(--brand-primary);
}

/* ========================================
   Selector item hover - wine theme
======================================== */

.selector-item:hover {
    border-color: var(--brand-primary);
}