/**
 * Calendar Style Variations
 * Different calendar styles for the Easy Restaurant Table Booking plugin
 */

/* Modern Professional Style (Default) */
.ertb-calendar-style-modern .ertb-datepicker {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1), 0 8px 16px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ertb-calendar-style-modern .ertb-datepicker-header {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    color: white;
    padding: 20px;
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
}

.ertb-calendar-style-modern .ertb-datepicker-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    backdrop-filter: blur(10px);
}

.ertb-calendar-style-modern .ertb-datepicker-day-selected {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
    font-weight: 700;
    border-color: #f59e0b;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.4);
    transform: translateY(-1px);
}

.ertb-calendar-style-modern .ertb-datepicker-day-today {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 700;
    border-color: #10b981;
    box-shadow: 0 2px 8px rgba(16, 185, 129, 0.3);
}

/* Classic Elegant Style */
.ertb-calendar-style-classic .ertb-datepicker {
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    border: 2px solid #e5e7eb;
    font-family: 'Times New Roman', serif;
}

.ertb-calendar-style-classic .ertb-datepicker-header {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    padding: 18px;
    border-radius: 6px 6px 0 0;
    text-align: center;
}

.ertb-calendar-style-classic .ertb-datepicker-title {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: 1px;
}

.ertb-calendar-style-classic .ertb-datepicker-day-selected {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
    color: white;
    font-weight: 600;
    border-color: #8b5cf6;
    box-shadow: 0 2px 8px rgba(139, 92, 246, 0.3);
}

.ertb-calendar-style-classic .ertb-datepicker-day-today {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    font-weight: 600;
    border-color: #059669;
    box-shadow: 0 2px 6px rgba(5, 150, 105, 0.3);
}

/* Minimal Clean Style */
.ertb-calendar-style-minimal .ertb-datepicker {
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f1f5f9;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ertb-calendar-style-minimal .ertb-datepicker-header {
    background: #ffffff;
    color: #1e293b;
    padding: 16px;
    border-bottom: 1px solid #e2e8f0;
    border-radius: 12px 12px 0 0;
}

.ertb-calendar-style-minimal .ertb-datepicker-title {
    font-size: 16px;
    font-weight: 500;
    color: #475569;
}

.ertb-calendar-style-minimal .ertb-datepicker-day {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    color: #475569;
    transition: all 0.2s ease;
}

.ertb-calendar-style-minimal .ertb-datepicker-day:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: none;
    box-shadow: none;
}

.ertb-calendar-style-minimal .ertb-datepicker-day-selected {
    background: #3b82f6;
    color: white;
    font-weight: 500;
    border-color: #3b82f6;
    box-shadow: 0 1px 3px rgba(59, 130, 246, 0.3);
}

.ertb-calendar-style-minimal .ertb-datepicker-day-today {
    background: #10b981;
    color: white;
    font-weight: 500;
    border-color: #10b981;
    box-shadow: 0 1px 3px rgba(16, 185, 129, 0.3);
}

/* Colorful Vibrant Style */
.ertb-calendar-style-colorful .ertb-datepicker {
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    border: 3px solid #fbbf24;
    font-family: 'Comic Sans MS', cursive, sans-serif;
}

.ertb-calendar-style-colorful .ertb-datepicker-header {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 50%, #f59e0b 100%);
    color: white;
    padding: 20px;
    border-radius: 17px 17px 0 0;
    text-align: center;
    position: relative;
}

.ertb-calendar-style-colorful .ertb-datepicker-header::before {
    content: '🎉';
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 20px;
}

.ertb-calendar-style-colorful .ertb-datepicker-header::after {
    content: '🎊';
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 20px;
}

.ertb-calendar-style-colorful .ertb-datepicker-title {
    font-size: 20px;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.ertb-calendar-style-colorful .ertb-datepicker-day {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid #f59e0b;
    color: #92400e;
    font-weight: 600;
    transition: all 0.3s ease;
}

.ertb-calendar-style-colorful .ertb-datepicker-day:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.ertb-calendar-style-colorful .ertb-datepicker-day-selected {
    background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%);
    color: white;
    font-weight: 700;
    border-color: #ef4444;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4);
    transform: scale(1.1);
}

.ertb-calendar-style-colorful .ertb-datepicker-day-today {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 700;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
    transform: scale(1.05);
}

/* Dark Theme Style */
.ertb-calendar-style-dark .ertb-datepicker {
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    border: 1px solid #374151;
    background: #1f2937;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.ertb-calendar-style-dark .ertb-datepicker-header {
    background: linear-gradient(135deg, #111827 0%, #1f2937 100%);
    color: #f9fafb;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    border-bottom: 1px solid #374151;
}

.ertb-calendar-style-dark .ertb-datepicker-title {
    font-size: 18px;
    font-weight: 600;
    color: #f9fafb;
}

.ertb-calendar-style-dark .ertb-datepicker-body {
    background: #1f2937;
    padding: 20px;
}

.ertb-calendar-style-dark .ertb-datepicker-weekdays span {
    color: #9ca3af;
    background: #374151;
    border: 1px solid #4b5563;
}

.ertb-calendar-style-dark .ertb-datepicker-day {
    background: #374151;
    border: 1px solid #4b5563;
    color: #d1d5db;
    transition: all 0.3s ease;
}

.ertb-calendar-style-dark .ertb-datepicker-day:hover {
    background: #4b5563;
    border-color: #6b7280;
    color: #f9fafb;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.ertb-calendar-style-dark .ertb-datepicker-day-selected {
    background: linear-gradient(135deg, #3b82f6 0%, #1d4ed8 100%);
    color: white;
    font-weight: 600;
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.4);
}

.ertb-calendar-style-dark .ertb-datepicker-day-today {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
    font-weight: 600;
    border-color: #10b981;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.ertb-calendar-style-dark .ertb-datepicker-day-closed {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%) !important;
    color: #6b7280 !important;
    border-color: #4b5563 !important;
    opacity: 0.6 !important;
}

/* Corporate Business Style */
.ertb-calendar-style-corporate .ertb-datepicker {
    border-radius: 4px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
    border: 1px solid #d1d5db;
    font-family: 'Arial', sans-serif;
}

.ertb-calendar-style-corporate .ertb-datepicker-header {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    padding: 16px;
    border-radius: 4px 4px 0 0;
    text-align: center;
}

.ertb-calendar-style-corporate .ertb-datepicker-title {
    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.ertb-calendar-style-corporate .ertb-datepicker-day {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #374151;
    font-weight: 500;
    transition: all 0.2s ease;
}

.ertb-calendar-style-corporate .ertb-datepicker-day:hover {
    background: #f3f4f6;
    border-color: #d1d5db;
    transform: none;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.ertb-calendar-style-corporate .ertb-datepicker-day-selected {
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    color: white;
    font-weight: 600;
    border-color: #1f2937;
    box-shadow: 0 2px 4px rgba(31, 41, 55, 0.3);
}

.ertb-calendar-style-corporate .ertb-datepicker-day-today {
    background: linear-gradient(135deg, #059669 0%, #047857 100%);
    color: white;
    font-weight: 600;
    border-color: #059669;
    box-shadow: 0 2px 4px rgba(5, 150, 105, 0.3);
}

/* Closed day styling for all styles */
.ertb-calendar-style-modern .ertb-datepicker-day-closed,
.ertb-calendar-style-classic .ertb-datepicker-day-closed,
.ertb-calendar-style-minimal .ertb-datepicker-day-closed,
.ertb-calendar-style-colorful .ertb-datepicker-day-closed,
.ertb-calendar-style-corporate .ertb-datepicker-day-closed {
    color: #6b7280 !important;
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    border-color: #d1d5db !important;
    opacity: 0.7 !important;
    cursor: not-allowed !important;
    position: relative;
}

.ertb-calendar-style-modern .ertb-datepicker-day-closed::after,
.ertb-calendar-style-classic .ertb-datepicker-day-closed::after,
.ertb-calendar-style-minimal .ertb-datepicker-day-closed::after,
.ertb-calendar-style-colorful .ertb-datepicker-day-closed::after,
.ertb-calendar-style-corporate .ertb-datepicker-day-closed::after {
    content: '🚫';
    position: absolute;
    top: 2px;
    right: 2px;
    font-size: 8px;
    opacity: 0.8;
}

.ertb-calendar-style-modern .ertb-datepicker-day-closed:hover,
.ertb-calendar-style-classic .ertb-datepicker-day-closed:hover,
.ertb-calendar-style-minimal .ertb-datepicker-day-closed:hover,
.ertb-calendar-style-colorful .ertb-datepicker-day-closed:hover,
.ertb-calendar-style-corporate .ertb-datepicker-day-closed:hover {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%) !important;
    transform: none !important;
    box-shadow: none !important;
}

/* Dark theme closed days */
.ertb-calendar-style-dark .ertb-datepicker-day-closed {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%) !important;
    color: #6b7280 !important;
    border-color: #4b5563 !important;
    opacity: 0.6 !important;
}

.ertb-calendar-style-dark .ertb-datepicker-day-closed:hover {
    background: linear-gradient(135deg, #374151 0%, #1f2937 100%) !important;
    transform: none !important;
    box-shadow: none !important;
}
