/* Unified Styles for Wedding Planning System - B Nazanin Font & Custom Color Palette */

/* Bundled Vazir fonts; no third-party stylesheet requests. */
@import url('css/local-fonts.css?v=20261016-local1');

/* CSS Variables for New Color Palette */
:root {
    /* Primary Color Palette */
    --primary-red: #F7374F;
    --primary-purple: #88304E;
    --primary-dark-purple: #522546;
    --primary-black: #2C2C2C;
    
    /* RGB equivalents */
    --primary-red-rgb: 247, 55, 79;
    --primary-purple-rgb: 136, 48, 78;
    --primary-dark-purple-rgb: 82, 37, 70;
    --primary-black-rgb: 44, 44, 44;
    
    /* Extended Color Palette */
    --secondary-red: #E91E63;
    --secondary-purple: #9C27B0;
    --secondary-dark-purple: #673AB7;
    --secondary-black: #424242;
    
    /* Background Colors */
    --bg-primary: #FFFFFF;
    --bg-secondary: #F8F9FA;
    --bg-accent: #F5F5F5;
    --bg-card: #FFFFFF;
    --bg-dark: var(--primary-black);
    --bg-light: #FAFAFA;
    
    /* Text Colors */
    --text-primary: var(--primary-black);
    --text-secondary: var(--primary-dark-purple);
    --text-light: var(--primary-purple);
    --text-white: #FFFFFF;
    --text-muted: #6C757D;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    --gradient-secondary: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-dark-purple) 100%);
    --gradient-dark: linear-gradient(135deg, var(--primary-dark-purple) 0%, var(--primary-black) 100%);
    --gradient-card: linear-gradient(135deg, #FFFFFF 0%, #FAFAFA 100%);
    --gradient-button: linear-gradient(135deg, var(--primary-red) 0%, var(--primary-purple) 100%);
    --gradient-hover: linear-gradient(135deg, var(--primary-purple) 0%, var(--primary-dark-purple) 100%);
    
    /* Typography */
    --font-primary: 'Vazir', 'B Nazanin', 'Tahoma', sans-serif;
    --font-secondary: 'Vazir', 'B Nazanin', 'Tahoma', sans-serif;
    --font-elegant: 'Vazir', 'B Nazanin', 'Tahoma', sans-serif;
    
    /* Spacing System */
    --spacing-xs: 0.25rem;
    --spacing-sm: 0.5rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    --spacing-xxl: 3rem;
    
    /* Shadows */
    --shadow-light: 0 1px 3px rgba(44, 44, 44, 0.1);
    --shadow-medium: 0 4px 6px rgba(44, 44, 44, 0.07);
    --shadow-heavy: 0 10px 15px rgba(44, 44, 44, 0.1);
    --shadow-colored: 0 4px 12px rgba(247, 55, 79, 0.15);
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
}

/* Global Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* body styles moved to dashboard.css to prevent flex layout override */

/* Login page specific styles */
body:has(.login-container) {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    font-family: var(--font-primary);
    color: var(--text-secondary);
    margin-bottom: var(--spacing-md);
}

/* Links */
a {
    color: var(--primary-red);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-purple);
    text-decoration: underline;
}

/* Buttons */
.btn {
    font-family: var(--font-primary);
    font-weight: 500;
    padding: 12px 24px;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    line-height: 1.4;
}

.btn-primary {
    background: var(--gradient-button);
    color: var(--text-white);
    box-shadow: var(--shadow-colored);
}

.btn-primary:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 55, 79, 0.25);
}

.btn-secondary {
    background: var(--gradient-secondary);
    color: var(--text-white);
}

.btn-secondary:hover {
    background: var(--gradient-dark);
    transform: translateY(-2px);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: var(--text-white);
}

.btn-success:hover {
    background: linear-gradient(135deg, #20c997, #28a745);
    transform: translateY(-2px);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #c82333);
    color: var(--text-white);
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c82333, #dc3545);
    transform: translateY(-2px);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #e0a800);
    color: var(--text-primary);
}

.btn-warning:hover {
    background: linear-gradient(135deg, #e0a800, #ffc107);
    transform: translateY(-2px);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 12px;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-lg);
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 500;
    color: var(--text-primary);
    font-family: var(--font-primary);
    width: 100%;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #E9ECEF;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-primary);
    transition: var(--transition-normal);
    position: relative;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(247, 55, 79, 0.1);
    transform: translateY(-2px);
}

.form-group input.error,
.form-group textarea.error,
.form-group select.error {
    border-color: #dc3545;
    box-shadow: 0 0 0 4px rgba(220, 53, 69, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

/* Cards */
.card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(247, 55, 79, 0.1);
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: var(--transition-normal);
}

.card:hover {
    box-shadow: var(--shadow-heavy);
    transform: translateY(-5px);
    border-color: var(--primary-red);
}

.card:hover::before {
    transform: scaleX(1);
}

.card-header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: var(--spacing-lg);
    /* margin: calc(-1 * var(--spacing-xl)) calc(-1 * var(--spacing-xl)) var(--spacing-lg); */
    margin-bottom: 32px;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.card-body {
    padding: 0;
}

/* Tables */
.table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-medium);
    margin-bottom: var(--spacing-lg);
    border: 1px solid rgba(247, 55, 79, 0.1);
}

.table th {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 18px 16px;
    text-align: right;
    font-weight: 600;
    font-family: var(--font-primary);
    border: none;
    position: relative;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.table th::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: rgba(255, 255, 255, 0.2);
}

.table td {
    padding: 16px;
    border-bottom: 1px solid rgba(247, 55, 79, 0.1);
    color: var(--text-primary);
    font-family: var(--font-primary);
    transition: var(--transition-fast);
}

.table tbody tr {
    transition: var(--transition-fast);
}

.table tbody tr:hover {
    background: rgba(247, 55, 79, 0.05);
    transform: scale(1.01);
}

.table tbody tr:hover td {
    color: var(--primary-red);
}

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

/* Navigation */
.nav {
    background: var(--gradient-dark);
    padding: 0;
    box-shadow: var(--shadow-medium);
}

.nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0;
}

.nav li {
    margin: 0;
}

.nav a {
    color: var(--text-white);
    text-decoration: none;
    padding: 16px 24px;
    display: block;
    transition: var(--transition-normal);
    font-family: var(--font-primary);
    font-weight: 500;
}

.nav a:hover {
    background: rgba(247, 55, 79, 0.2);
    color: var(--text-white);
}

.nav a.active {
    background: var(--primary-red);
    color: var(--text-white);
}

/* Header */
header {
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: var(--spacing-lg) var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-heavy);
    position: relative;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    animation: shimmer 3s ease-in-out infinite;
}

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

header h1 {
    color: var(--text-white);
    margin: 0;
    font-size: 1.5rem;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 1;
}

/* Main Content */
/* main styles moved to dashboard.css - do not override */

/* Home Page Styling */
.home-container {
    max-width: 100%;
    margin: 0;
    padding: 0;
}

.welcome-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xxl);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple), var(--dark-purple));
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: 0 20px 60px rgba(247, 55, 79, 0.3);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.welcome-content {
    position: relative;
    z-index: 2;
}

.welcome-section h2 {
    font-size: 2.8rem;
    margin: 0 0 var(--spacing-md) 0;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

.welcome-section h2 i {
    margin-left: var(--spacing-md);
    color: var(--primary-gold);
    animation: float 3s ease-in-out infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

.welcome-section p {
    font-size: 1.3rem;
    margin: 0 0 var(--spacing-lg) 0;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

.welcome-time {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.welcome-time span {
    font-size: 1.1rem;
    font-weight: 600;
    opacity: 0.9;
}

/* Weather Widget */
.weather-widget {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    background: rgba(255, 255, 255, 0.1);
    padding: var(--spacing-lg);
    border-radius: var(--radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    z-index: 2;
}

.weather-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    animation: pulse 2s infinite;
}

.weather-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.temperature {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
}

.weather-desc {
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.stat-card {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    transition: var(--transition-normal);
    border: 1px solid rgba(247, 55, 79, 0.1);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-heavy);
    border-color: var(--primary-red);
}

.stat-icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--text-white);
    background: var(--gradient-primary);
    box-shadow: var(--shadow-colored);
}

.stat-content h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0;
    color: var(--text-primary);
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-content p {
    margin: var(--spacing-xs) 0 0 0;
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 500;
}

.quick-actions {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-medium);
    border: 1px solid rgba(247, 55, 79, 0.1);
}

.quick-actions h3 {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-lg);
    color: var(--text-primary);
    text-align: center;
    font-weight: 600;
}

.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.action-btn {
    background: var(--gradient-primary);
    color: var(--text-white);
    border: none;
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-normal);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    text-decoration: none;
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: var(--transition-slow);
}

.action-btn:hover::before {
    left: 100%;
}

.action-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-heavy);
}

.action-btn i {
    font-size: 1.8rem;
}

/* Sections - Clean and Simple */
section {
    background: var(--bg-primary);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: var(--shadow-light);
    border: 1px solid #E9ECEF;
    margin-right: 0;
    animation: fadeInUp 0.5s ease-out;
    display: none;
}

/* Show active section */
section.active {
    display: block !important;
}

/* Dashboard container - always visible */
/* dashboard-container styles moved to dashboard.css */

/* ========================================
   MARRIAGE CONTRACT FORM - BEAUTIFUL DESIGN
   ======================================== */

/* Contract Header */
.contract-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: 0 10px 30px rgba(247, 55, 79, 0.3);
    animation: fadeInUp 0.6s ease-out;
}

.contract-header h2 {
    font-size: 2.5rem;
    margin: 0 0 var(--spacing-sm) 0;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contract-header h2 i {
    margin-left: var(--spacing-sm);
    color: var(--primary-gold);
    animation: pulse 2s infinite;
}

.contract-subtitle {
    font-size: 1.2rem;
    margin: 0;
    opacity: 0.9;
    font-weight: 300;
}

/* Contract Wizard Container */
.contract-wizard {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(247, 55, 79, 0.1);
    animation: fadeInUp 0.8s ease-out;
}

/* Wizard Steps */
.wizard-steps {
    display: flex;
    justify-content: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
}

.wizard-steps::before {
    content: '';
    position: absolute;
    top: 30px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-red), var(--primary-purple));
    border-radius: 2px;
    z-index: 1;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    z-index: 2;
    flex: 1;
    max-width: 200px;
}

.step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--bg-secondary);
    border: 3px solid var(--primary-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-gray);
    transition: all 0.3s ease;
    margin-bottom: var(--spacing-sm);
}

.step.active .step-number {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    border-color: var(--primary-red);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 5px 15px rgba(247, 55, 79, 0.4);
}

.step.completed .step-number {
    background: var(--success-color);
    border-color: var(--success-color);
    color: white;
}

.step-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.3s ease;
}

.step.active .step-title {
    color: var(--primary-red);
    font-weight: 700;
}

/* Premium Contract Form */
.premium-contract-form {
    position: relative;
}

.form-step {
    display: none;
    animation: fadeInUp 0.5s ease-out;
}

.form-step.active {
    display: block;
}

.step-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.05), rgba(136, 48, 78, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(247, 55, 79, 0.1);
}

.step-header h3 {
    font-size: 1.8rem;
    margin: 0 0 var(--spacing-sm) 0;
    color: var(--primary-red);
    font-weight: 700;
}

.step-header h3 i {
    margin-left: var(--spacing-sm);
    color: var(--primary-purple);
}

.step-header p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin: 0;
    font-weight: 400;
}

/* Enhanced Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

.form-group {
    position: relative;
    margin-bottom: var(--spacing-lg);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: var(--spacing-md) var(--spacing-lg);
    padding-right: 50px;
    border: 2px solid var(--border-color);
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-family: inherit;
    background: var(--bg-primary);
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(247, 55, 79, 0.1);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--primary-purple);
}

.input-icon {
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-gray);
    font-size: 1.1rem;
    pointer-events: none;
    transition: color 0.3s ease;
}

.form-group input:focus + .input-icon,
.form-group textarea:focus + .input-icon {
    color: var(--primary-red);
}

/* Contract Info Box */
.contract-info-box {
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.05), rgba(136, 48, 78, 0.05));
    border: 1px solid rgba(247, 55, 79, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contract-info-box h4 {
    font-size: 1.3rem;
    margin: 0 0 var(--spacing-lg) 0;
    color: var(--primary-red);
    font-weight: 700;
}

.contract-info-box h4 i {
    margin-left: var(--spacing-sm);
    color: var(--primary-purple);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-sm) var(--spacing-md);
    background: var(--bg-primary);
    border-radius: var(--radius-sm);
    border: 1px solid var(--border-color);
}

.info-label {
    font-weight: 600;
    color: var(--text-secondary);
}

.info-value {
    font-weight: 700;
    color: var(--primary-red);
}

/* ========================================
   WEDDING SERVICES SELECTION - BEAUTIFUL DESIGN
   ======================================== */

/* Services Container */
.services-container {
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    border: 2px solid rgba(247, 55, 79, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.services-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(247, 55, 79, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

/* Services Header */
.services-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.08), rgba(136, 48, 78, 0.08));
    border-radius: var(--radius-xl);
    border: 2px solid rgba(247, 55, 79, 0.15);
    box-shadow: 0 10px 30px rgba(247, 55, 79, 0.1);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.services-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: slide 4s infinite;
}

/* Services Filters */
.services-filters {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
    position: relative;
    z-index: 2;
}

.service-filter,
.service-search {
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid rgba(247, 55, 79, 0.2);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.05));
    color: var(--text-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    min-width: 200px;
}

.service-filter:focus,
.service-search:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(247, 55, 79, 0.15), 0 8px 25px rgba(247, 55, 79, 0.2);
    transform: translateY(-2px);
    background: var(--bg-primary);
}

.service-filter:hover,
.service-search:hover {
    border-color: var(--primary-purple);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(247, 55, 79, 0.15);
}

.service-search {
    min-width: 300px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23F7374F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='11' cy='11' r='8'/%3E%3Cpath d='m21 21-4.35-4.35'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    padding-right: 50px;
}

/* Services Info */
.services-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    font-weight: 700;
    text-align: center;
    position: relative;
    z-index: 2;
}

.services-info span:first-child {
    color: var(--primary-purple);
    font-size: 1.1rem;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-info span:last-child {
    color: var(--primary-red);
    font-size: 1.3rem;
    text-shadow: 0 2px 4px rgba(247, 55, 79, 0.3);
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
    position: relative;
    z-index: 2;
}

/* Service Card */
.service-card {
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border: 2px solid rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(247, 55, 79, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--primary-red);
    box-shadow: 0 20px 60px rgba(247, 55, 79, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.service-card.selected {
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.1), rgba(136, 48, 78, 0.1));
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(247, 55, 79, 0.3);
    transform: translateY(-4px);
}

.service-card.selected::before {
    opacity: 1;
}

/* Service Card Header */
.service-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
}

.service-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0;
    line-height: 1.3;
}

.service-card-price {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--primary-purple);
    text-shadow: 0 2px 4px rgba(136, 48, 78, 0.3);
}

/* Service Card Content */
.service-card-description {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
}

.service-card-category {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-purple), var(--primary-red));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: var(--spacing-md);
    box-shadow: 0 4px 15px rgba(136, 48, 78, 0.3);
}

/* Service Card Actions */
.service-card-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: var(--spacing-lg);
}

.service-card-toggle {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(247, 55, 79, 0.3);
    position: relative;
    overflow: hidden;
}

.service-card-toggle::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.service-card-toggle:hover::before {
    left: 100%;
}

.service-card-toggle:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.4);
}

.service-card-toggle.selected {
    background: linear-gradient(135deg, var(--success-color), #28a745);
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.3);
}

.service-card-toggle.selected:hover {
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.4);
}

/* Loading Services */
.loading-services {
    grid-column: 1 / -1;
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--primary-gray);
    font-size: 1.2rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border-radius: var(--radius-xl);
    border: 2px solid rgba(247, 55, 79, 0.1);
    position: relative;
    z-index: 2;
}

.loading-services i {
    font-size: 3rem;
    margin-bottom: var(--spacing-lg);
    color: var(--primary-red);
    animation: spin 1s linear infinite;
    filter: drop-shadow(0 4px 8px rgba(247, 55, 79, 0.3));
}

/* New Two-Column Services Selection */
.services-selection-container {
    display: flex;
    gap: 16px;
    margin-top: var(--spacing-xl);
    min-height: 500px;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.services-chooser {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xl);
    border: 2px solid rgba(247, 55, 79, 0.1);
}

.categories-section,
.items-section {
    display: flex;
    flex-direction: column;
}

.categories-section h4,
.items-section h4 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-red);
    margin-bottom: var(--spacing-md);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.categories-section h4 i,
.items-section h4 i {
    color: var(--primary-purple);
}

.categories-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.category-button {
    padding: var(--spacing-md) var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.05));
    border: 2px solid rgba(247, 55, 79, 0.2);
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.category-button:hover {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.1), rgba(136, 48, 78, 0.1));
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(247, 55, 79, 0.2);
}

.category-button.active {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: white;
    border-color: var(--primary-red);
    box-shadow: 0 4px 15px rgba(247, 55, 79, 0.3);
}

.items-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    max-height: 400px;
    overflow-y: auto;
    padding: var(--spacing-sm);
}

.item-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: var(--spacing-md) var(--spacing-lg);
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: var(--radius-md);
    transition: all 0.2s ease;
    gap: var(--spacing-md);
}

.item-row:hover {
    border-color: var(--primary-red);
    box-shadow: 0 2px 8px rgba(247, 55, 79, 0.1);
    transform: translateX(-4px);
}

.item-row .item-name {
    flex: 1;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

.item-row .item-price {
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 1rem;
    min-width: 120px;
    text-align: left;
}

.item-row .item-add-btn {
    padding: var(--spacing-sm) var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.item-row .item-add-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 12px rgba(247, 55, 79, 0.3);
}

.item-row .item-add-btn:active {
    transform: scale(0.98);
}

.no-category-selected,
.no-items-selected,
.loading-categories {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--text-secondary);
    font-size: 1rem;
}

.no-category-selected i,
.no-items-selected i,
.loading-categories i {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
    color: var(--primary-gray);
    opacity: 0.5;
}

.loading-categories i {
    animation: spin 1s linear infinite;
}

.selected-items-panel {
    flex: 0 0 450px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: 12px;
    border: 2px solid rgba(247, 55, 79, 0.1);
    max-height: 700px;
    overflow: hidden;
}

.selected-items-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(247, 55, 79, 0.1);
}

.selected-items-header h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 6px;
}

.selected-count {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: white;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.9rem;
    min-width: 30px;
    text-align: center;
}

.selected-items-summary {
    display: flex;
    justify-content: space-between;
    padding: 6px 8px;
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.05), rgba(136, 48, 78, 0.05));
    border-radius: 6px;
    margin-bottom: 8px;
    font-size: 0.85rem;
}

.selected-items-summary .summary-item {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.selected-items-summary .summary-item span {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.selected-items-summary .summary-item strong {
    font-size: 1.1rem;
    color: var(--primary-purple);
    font-weight: 700;
}

.selected-items-list {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.selected-items-list-header {
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 45px minmax(100px, 120px) minmax(110px, 130px) 35px;
    gap: 6px;
    padding: 6px 8px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 4px;
    position: sticky;
    top: 0;
    z-index: 10;
    min-width: 0;
}

.selected-item-row {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    padding: 6px 8px;
    display: grid;
    grid-template-columns: minmax(120px, 1fr) 45px minmax(100px, 120px) minmax(110px, 130px) 35px;
    gap: 6px;
    align-items: center;
    transition: all 0.2s ease;
    font-size: 0.8rem;
    min-width: 0;
}

.selected-item-row:hover {
    border-color: var(--primary-red);
    box-shadow: 0 1px 4px rgba(247, 55, 79, 0.1);
    background: #fefefe;
}

.selected-item-row .item-header {
    display: none;
}

.selected-item-row .item-name {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.8rem;
    padding-right: 4px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.3;
}

.selected-item-row .item-name span {
    display: inline-block;
    vertical-align: middle;
}

.selected-item-row .item-remove-btn {
    background: #ef4444;
    color: white;
    border: none;
    border-radius: 4px;
    padding: 3px 5px;
    cursor: pointer;
    font-size: 0.65rem;
    transition: all 0.2s ease;
    white-space: nowrap;
    min-width: 30px;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.selected-item-row .item-remove-btn:hover {
    background: #dc2626;
}

.selected-item-row .item-details {
    display: contents;
}

.selected-item-row .detail-group {
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
    overflow: hidden;
}

.selected-item-row .detail-group label {
    font-size: 0.7rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin: 0;
}

.selected-item-row .detail-group input {
    padding: 3px 5px;
    border: 1px solid #e2e8f0;
    border-radius: 4px;
    font-size: 0.75rem;
    transition: all 0.2s ease;
    width: 100%;
    min-width: 0;
    font-family: 'Courier New', Courier, monospace;
    text-align: right;
    overflow-wrap: break-word;
    word-break: break-all;
}

.selected-item-row .detail-group input.selected-item-price {
    font-family: 'Courier New', Courier, monospace;
    direction: ltr;
    text-align: left;
}

.selected-item-row .detail-group input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 2px rgba(247, 55, 79, 0.1);
}

.selected-item-row .item-total {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 2px;
    margin: 0;
    padding: 0;
    border: none;
}

.selected-item-row .item-total-label {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.7rem;
    display: none;
}

.selected-item-row .item-total-value {
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 0.75rem;
    font-family: 'Courier New', Courier, monospace;
    white-space: normal;
    overflow-wrap: break-word;
    word-break: break-all;
    text-align: right;
    direction: ltr;
    min-width: 0;
    max-width: 100%;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-selection-container {
        flex-direction: column;
    }
    
    .selected-items-panel {
        flex: 1;
        max-height: none;
    }
}

/* Custom Pricing Section */
.custom-pricing-section {
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.05), rgba(136, 48, 78, 0.05));
    border: 2px solid rgba(247, 55, 79, 0.15);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    margin-top: var(--spacing-xxl);
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.custom-pricing-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(247, 55, 79, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.custom-pricing-section h4 {
    font-size: 1.5rem;
    margin: 0 0 var(--spacing-xl) 0;
    color: var(--primary-red);
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(247, 55, 79, 0.3);
    position: relative;
    z-index: 2;
}

.custom-pricing-section h4 i {
    margin-left: var(--spacing-md);
    color: var(--primary-purple);
    animation: pulse 2s infinite;
}

.custom-price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border: 2px solid rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-lg);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.custom-price-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(247, 55, 79, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.custom-price-item:hover {
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(247, 55, 79, 0.2);
    transform: translateY(-4px);
}

.custom-price-item:hover::before {
    opacity: 1;
}

.custom-price-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    position: relative;
    z-index: 2;
}

.service-name {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1.1rem;
}

.service-original-price {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.custom-price-input {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.custom-price-input label {
    font-weight: 700;
    color: var(--primary-purple);
    margin: 0;
    font-size: 1rem;
}

.custom-price {
    width: 180px;
    padding: var(--spacing-md) var(--spacing-lg);
    border: 2px solid rgba(247, 55, 79, 0.2);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: 600;
    text-align: center;
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.05));
    color: var(--text-primary);
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.custom-price:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(247, 55, 79, 0.15), 0 8px 25px rgba(247, 55, 79, 0.2);
    transform: translateY(-2px);
    background: var(--bg-primary);
}

.custom-price:hover {
    border-color: var(--primary-purple);
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(247, 55, 79, 0.15);
}

.btn-remove-custom {
    background: linear-gradient(135deg, var(--error-color), #dc3545);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    font-size: 1.1rem;
}

.btn-remove-custom:hover {
    background: linear-gradient(135deg, #c82333, #a71e2a);
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

/* Discount Section */
.discount-section {
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.05), rgba(136, 48, 78, 0.05));
    border: 1px solid rgba(247, 55, 79, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.discount-section h4 {
    font-size: 1.3rem;
    margin: 0 0 var(--spacing-lg) 0;
    color: var(--primary-red);
    font-weight: 700;
}

.discount-section h4 i {
    margin-left: var(--spacing-sm);
    color: var(--primary-purple);
}

/* Deposit Section */
.deposit-section {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.05), rgba(16, 185, 129, 0.05));
    border: 1px solid rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
}

.deposit-section h4 {
    font-size: 1.3rem;
    margin: 0 0 var(--spacing-lg) 0;
    color: #22c55e;
    font-weight: 700;
}

.deposit-section h4 i {
    margin-left: var(--spacing-sm);
    color: #10b981;
}

.deposit-section h5 {
    font-size: 1.1rem;
    margin: var(--spacing-lg) 0 var(--spacing-md) 0;
    color: #059669;
    font-weight: 600;
}

.deposit-section h5 i {
    margin-left: var(--spacing-sm);
    color: #047857;
}

.check-details {
    background: rgba(34, 197, 94, 0.03);
    border: 1px solid rgba(34, 197, 94, 0.1);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-top: var(--spacing-md);
}


/* Contract Summary */
.contract-summary-final {
    background: var(--bg-primary);
    border: 2px solid var(--primary-red);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    margin-bottom: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(247, 55, 79, 0.1);
}

/* Form Navigation */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-xl);
    border-top: 2px solid var(--border-color);
    margin-top: var(--spacing-xxl);
}

.form-navigation .btn {
    padding: var(--spacing-md) var(--spacing-xl);
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    min-width: 150px;
    justify-content: center;
}

.form-navigation .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.form-navigation .btn i {
    font-size: 1rem;
}

/* Success Modal */
.success-modal {
    max-width: 600px;
    text-align: center;
}

.success-header {
    padding: var(--spacing-xxl);
    background: linear-gradient(135deg, var(--success-color), #28a745);
    color: white;
    border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}

.success-icon {
    font-size: 4rem;
    margin-bottom: var(--spacing-lg);
    animation: bounce 1s ease-out;
}

.success-header h3 {
    font-size: 2rem;
    margin: 0 0 var(--spacing-sm) 0;
    font-weight: 700;
}

.success-header p {
    font-size: 1.1rem;
    margin: 0;
    opacity: 0.9;
}

.success-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-bottom: var(--spacing-xl);
}

.contract-details-preview {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.contract-details-preview h4 {
    color: var(--primary-red);
    margin: 0 0 var(--spacing-md) 0;
    font-weight: 700;
}

.preview-info {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.preview-info span {
    font-weight: 600;
    color: var(--text-primary);
}

/* Print Modal */
.print-modal {
    max-width: 800px;
}

.print-options {
    margin-bottom: var(--spacing-xl);
}

.print-option-label {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-primary);
    cursor: pointer;
    padding: var(--spacing-md);
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.print-option-label:hover {
    background: var(--primary-gray);
    color: white;
}

.print-content {
    background: white;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-xl);
    min-height: 400px;
    font-family: 'Vazir', 'B Nazanin', 'Tahoma', sans-serif;
}

/* Animations */
@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .wizard-steps {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .wizard-steps::before {
        display: none;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .services-header {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .services-filters {
        flex-direction: column;
    }
    
    .form-navigation {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .form-navigation .btn {
        width: 100%;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    /* Services Selection Responsive */
    .services-header {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: stretch;
    }
    
    .services-filters {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .service-filter,
    .service-search {
        min-width: auto;
        width: 100%;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
    
    .service-card-header {
        flex-direction: column;
        align-items: flex-start;
        gap: var(--spacing-sm);
    }
    
    .service-card-actions {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .service-card-toggle {
        width: 100%;
        justify-content: center;
    }
    
    .custom-price-item {
        flex-direction: column;
        gap: var(--spacing-lg);
        align-items: stretch;
    }
    
    .custom-price-input {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .custom-price {
        width: 100%;
    }
    
    /* Dashboard Responsive */
    .welcome-section {
        flex-direction: column;
        gap: var(--spacing-lg);
        text-align: center;
    }
    
    .weather-widget {
        align-self: center;
    }
    
    .dashboard-stats {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: var(--spacing-lg);
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }
    
    .action-buttons {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: var(--spacing-md);
    }
    
    .action-btn {
        padding: var(--spacing-lg);
    }
    
    .action-btn i {
        font-size: 1.5rem;
    }
    
    .action-btn span {
        font-size: 0.9rem;
    }
    
    .event-item {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .event-date {
        align-self: center;
    }
    
    .activity-item {
        flex-direction: column;
        gap: var(--spacing-md);
        text-align: center;
    }
    
    .activity-icon {
        align-self: center;
    }
    
    .financial-item {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .satisfaction-item {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .satisfaction-bar {
        width: 100%;
    }
    
    .status-item {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }
    
    .status-indicator {
        align-self: center;
    }
}

/* ========================================
   EVENTS MANAGEMENT - BEAUTIFUL DESIGN
   ======================================== */

/* Events Section Header */
#events .section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-xxl);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple), var(--dark-purple));
    border-radius: var(--radius-xl);
    color: white;
    box-shadow: 0 20px 60px rgba(247, 55, 79, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    animation: fadeInUp 0.6s ease-out;
    position: relative;
    overflow: hidden;
}

#events .section-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
    pointer-events: none;
}

#events .section-header h2 {
    font-size: 3.5rem;
    margin: 0 0 var(--spacing-md) 0;
    font-weight: 800;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
}

#events .section-header h2 i {
    margin-left: var(--spacing-md);
    color: var(--primary-gold);
    animation: float 3s ease-in-out infinite, glow 2s ease-in-out infinite alternate;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6));
}

#events .section-header p {
    font-size: 1.4rem;
    margin: 0;
    opacity: 0.95;
    font-weight: 400;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    letter-spacing: 0.5px;
}

/* Calendar Container */
.calendar-container {
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(247, 55, 79, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
    animation: fadeInUp 0.8s ease-out;
    overflow: hidden;
}

.calendar-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple), var(--dark-purple));
    border-radius: var(--radius-xl);
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

/* Calendar Controls */
.calendar-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.08), rgba(136, 48, 78, 0.08), rgba(82, 37, 70, 0.05));
    border-radius: var(--radius-xl);
    border: 2px solid rgba(247, 55, 79, 0.15);
    box-shadow: 0 10px 30px rgba(247, 55, 79, 0.1);
    position: relative;
    overflow: hidden;
}

.calendar-controls::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: slide 4s infinite;
}

.calendar-controls .btn {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple), var(--dark-purple));
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg) var(--spacing-xl);
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 70px;
    height: 70px;
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.calendar-controls .btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.calendar-controls .btn:hover::before {
    left: 100%;
}

.calendar-controls .btn:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 12px 35px rgba(247, 55, 79, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.calendar-controls .btn:active {
    transform: translateY(-2px) scale(1.02);
}

.calendar-controls h3 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-red);
    margin: 0;
    text-align: center;
    flex: 1;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    letter-spacing: 1px;
    position: relative;
    z-index: 2;
}

/* Calendar Header (Days of Week) */
.calendar-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple), var(--dark-purple));
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.3);
    position: relative;
    overflow: hidden;
}

.calendar-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 4s infinite;
}

.calendar-header-day {
    text-align: center;
    font-weight: 800;
    color: white;
    font-size: 1.2rem;
    padding: var(--spacing-md);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.calendar-header-day:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.calendar-header-day.weekend {
    background: rgba(255, 215, 0, 0.2);
    color: var(--primary-gold);
    border-color: rgba(255, 215, 0, 0.3);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: var(--spacing-sm);
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border-radius: var(--radius-xl);
    padding: var(--spacing-lg);
    border: 2px solid rgba(247, 55, 79, 0.1);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.calendar-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(247, 55, 79, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    background: linear-gradient(135deg, var(--bg-secondary), rgba(247, 55, 79, 0.02));
    border: 2px solid transparent;
    min-height: 100px;
    padding: var(--spacing-sm);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.calendar-day::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(247, 55, 79, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.calendar-day:hover {
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.15), rgba(136, 48, 78, 0.15));
    border-color: var(--primary-red);
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.3), 0 0 0 1px rgba(247, 55, 79, 0.2);
}

.calendar-day:hover::before {
    opacity: 1;
}

.calendar-day.other-month {
    opacity: 0.3;
    background: var(--bg-primary);
}

.calendar-day.today {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple), var(--dark-purple));
    color: white;
    font-weight: 800;
    box-shadow: 0 8px 30px rgba(247, 55, 79, 0.5), 0 0 0 2px rgba(255, 255, 255, 0.2);
    border-color: var(--primary-gold);
    animation: pulse 2s infinite;
}

.calendar-day.has-events {
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.1), rgba(136, 48, 78, 0.1));
    border-color: var(--primary-red);
}

.calendar-day.has-events::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
}

.calendar-day-number {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: var(--spacing-xs);
}

.calendar-day.today .calendar-day-number {
    color: white;
}

.calendar-day-events {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
}

.calendar-event-dot {
    width: 100%;
    height: 3px;
    border-radius: 2px;
    background: var(--primary-red);
}

.calendar-event-dot.completed {
    background: var(--success-color);
}

.calendar-event-dot.pending {
    background: var(--warning-color);
}

.calendar-event-dot.incomplete {
    background: var(--error-color);
}

/* Events List Container */
.events-list-container {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(247, 55, 79, 0.1);
    animation: fadeInUp 1s ease-out;
}

/* Events Header */
.events-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.05), rgba(136, 48, 78, 0.05));
    border-radius: var(--radius-lg);
    border: 1px solid rgba(247, 55, 79, 0.1);
}

.events-header h3 {
    font-size: 1.8rem;
    margin: 0;
    color: var(--primary-red);
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.events-header h3 i {
    color: var(--primary-purple);
}

/* Events Legend */
.events-legend {
    display: flex;
    gap: var(--spacing-lg);
    align-items: center;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.legend-color.green {
    background: var(--success-color);
}

.legend-color.yellow {
    background: var(--warning-color);
}

.legend-color.red {
    background: var(--error-color);
}

/* Events Loading */
.events-loading {
    text-align: center;
    padding: var(--spacing-xxl);
    color: var(--primary-gray);
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid var(--border-color);
    border-top: 4px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto var(--spacing-md);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes shimmer {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

@keyframes slide {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes glow {
    0% { filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.6)); }
    100% { filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8)); }
}

@keyframes sidebarGlow {
    0%, 100% { 
        background: 
            radial-gradient(circle at 80% 20%, rgba(247, 55, 79, 0.15) 0%, transparent 50%),
            radial-gradient(circle at 20% 80%, rgba(136, 48, 78, 0.15) 0%, transparent 50%),
            linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.05) 50%, transparent 70%);
    }
    50% { 
        background: 
            radial-gradient(circle at 20% 20%, rgba(247, 55, 79, 0.2) 0%, transparent 50%),
            radial-gradient(circle at 80% 80%, rgba(136, 48, 78, 0.2) 0%, transparent 50%),
            linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.1) 50%, transparent 70%);
    }
}

.events-loading p {
    font-size: 1.1rem;
    margin: 0;
    font-weight: 500;
}

/* Events Table Container */
.events-table-container {
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(247, 55, 79, 0.1);
    border: 2px solid transparent;
    background-clip: padding-box;
    position: relative;
}

.events-table-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple), var(--dark-purple));
    border-radius: var(--radius-xl);
    padding: 2px;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    z-index: -1;
}

/* Events Table */
.events-table {
    width: 100%;
    border-collapse: collapse;
    font-family: inherit;
}

.events-table thead {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple), var(--dark-purple));
    color: white;
    position: relative;
    overflow: hidden;
}

.events-table thead::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

.events-table th {
    padding: var(--spacing-xl);
    text-align: center;
    font-weight: 800;
    font-size: 1.2rem;
    border: none;
    position: relative;
    z-index: 2;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.events-table th:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 0;
    top: 20%;
    bottom: 20%;
    width: 1px;
    background: rgba(255, 255, 255, 0.2);
}

.events-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid var(--border-color);
}

.events-table tbody tr:hover {
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.08), rgba(136, 48, 78, 0.08));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.15);
    border-left: 4px solid var(--primary-red);
}

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

.events-table td {
    padding: var(--spacing-xl);
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    vertical-align: middle;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

/* Event Status Badges */
.event-status {
    display: inline-flex;
    align-items: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-full);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.event-status::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.event-status:hover::before {
    left: 100%;
}

.event-status.completed {
    background: linear-gradient(135deg, var(--success-color), #28a745, #20c997);
    color: white;
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.event-status.ordered {
    background: linear-gradient(135deg, var(--warning-color), #ffc107, #fd7e14);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.event-status.pending {
    background: linear-gradient(135deg, var(--error-color), #dc3545, #e83e8c);
    color: white;
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.event-status i {
    font-size: 0.8rem;
}

/* Event Actions */
.event-actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: center;
    align-items: center;
}

.event-action-btn {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: white;
    border: none;
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    box-shadow: 0 4px 15px rgba(247, 55, 79, 0.3);
    position: relative;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.event-action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.event-action-btn:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.4);
}

.event-action-btn:hover::before {
    left: 100%;
}

.event-action-btn.secondary {
    background: var(--primary-gray);
}

.event-action-btn.secondary:hover {
    background: var(--dark-purple);
}

.event-action-btn i {
    font-size: 0.8rem;
}

/* Customer Name Styling */
.customer-name {
    font-weight: 700;
    color: var(--primary-red);
    font-size: 1.1rem;
}

/* Event Date Styling */
.event-date {
    font-weight: 600;
    color: var(--text-primary);
    font-size: 1rem;
}

/* Event Time Styling */
.event-time {
    font-weight: 500;
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Order Status Styling */
.order-status {
    font-weight: 600;
    font-size: 0.9rem;
}

/* Responsive Design for Events */
@media (max-width: 1200px) {
    .calendar-header {
        font-size: 0.9rem;
    }
    
    .calendar-day {
        min-height: 60px;
    }
    
    .calendar-day-number {
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .calendar-controls {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .calendar-controls h3 {
        order: -1;
    }
    
    .events-header {
        flex-direction: column;
        gap: var(--spacing-md);
        align-items: stretch;
    }
    
    .events-legend {
        flex-direction: column;
        gap: var(--spacing-sm);
        align-items: flex-start;
    }
    
    .events-table-container {
        overflow-x: auto;
    }
    
    .events-table {
        min-width: 600px;
    }
    
    .event-actions {
        flex-direction: column;
        gap: var(--spacing-xs);
    }
    
    .event-action-btn {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .calendar-grid {
        gap: 2px;
        padding: var(--spacing-sm);
    }
    
    .calendar-day {
        min-height: 50px;
        padding: 2px;
    }
    
    .calendar-day-number {
        font-size: 0.9rem;
    }
    
    .calendar-header-day {
        font-size: 0.8rem;
        padding: var(--spacing-xs);
    }
}

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

section h2 {
    color: var(--primary-red);
    margin-bottom: var(--spacing-lg);
    font-size: 1.75rem;
    font-weight: 600;
    border-bottom: 2px solid var(--primary-red);
    padding-bottom: var(--spacing-sm);
    position: relative;
}

section h2::after {
    content: '';
    position: absolute;
    bottom: -2px;
    right: 0;
    width: 50px;
    height: 2px;
    background: var(--gradient-primary);
    border-radius: 1px;
}

/* Status Badges */
.status-badge {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    display: inline-block;
    font-family: var(--font-primary);
}

.status-active {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

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

.status-completed {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border: 1px solid #007bff;
}

.status-cancelled {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

/* Messages */
.message {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-md);
    font-family: var(--font-primary);
    font-weight: 500;
}

.message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid #28a745;
}

.message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid #dc3545;
}

.message.info {
    background: rgba(0, 123, 255, 0.1);
    color: #007bff;
    border: 1px solid #007bff;
}

.message.warning {
    background: rgba(255, 193, 7, 0.1);
    color: #ffc107;
    border: 1px solid #ffc107;
}

/* Modals */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(44, 44, 44, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal-content {
    background: var(--bg-primary);
    padding: var(--spacing-xl);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: var(--shadow-heavy);
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid #E9ECEF;
}

.modal-header h3 {
    color: var(--primary-red);
    margin: 0;
    font-size: 1.5rem;
}

.close {
    color: var(--text-muted);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: var(--transition-fast);
}

.close:hover {
    color: var(--primary-red);
}

/* Login Container */
.login-container {
    background: var(--bg-primary);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    width: 100%;
    max-width: 420px;
    box-shadow: var(--shadow-heavy);
    border: 1px solid #E9ECEF;
    margin: 0 auto;
    position: relative;
}

.logo {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.logo img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: inline-block;
    box-shadow: var(--shadow-colored);
}

.logo h1 {
    font-size: 1.75rem;
    margin-top: var(--spacing-md);
    color: var(--text-primary);
    font-weight: 700;
    font-family: var(--font-primary);
}

/* Login Button */
.login-btn {
    width: 100%;
    padding: 16px 24px;
    background: var(--gradient-button);
    color: var(--text-white);
    border: none;
    border-radius: var(--radius-md);
    font-size: 16px;
    font-weight: 600;
    font-family: var(--font-primary);
    cursor: pointer;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-colored);
    margin-top: var(--spacing-lg);
}

.login-btn:hover {
    background: var(--gradient-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 55, 79, 0.25);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.login-btn.loading {
    opacity: 0.8;
    cursor: not-allowed;
}

/* Message Styles */
.message {
    padding: 12px 16px;
    border-radius: var(--radius-md);
    margin-bottom: var(--spacing-lg);
    font-weight: 500;
    text-align: center;
    font-family: var(--font-primary);
}

.message.success {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

.message.error {
    background: rgba(220, 53, 69, 0.1);
    color: #dc3545;
    border: 1px solid rgba(220, 53, 69, 0.2);
}

.message.info {
    background: rgba(23, 162, 184, 0.1);
    color: #17a2b8;
    border: 1px solid rgba(23, 162, 184, 0.2);
}

/* Demo Login */
.demo-login {
    margin-top: var(--spacing-lg);
    text-align: center;
}

.demo-login .btn {
    margin-bottom: var(--spacing-sm);
}

.demo-login p {
    font-size: 12px;
    color: var(--text-muted);
    margin: 0;
}

/* Footer */
.footer {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-lg);
    border-top: 1px solid var(--border-color);
    color: var(--text-muted);
    font-size: 12px;
}

/* Dashboard Container */
/* dashboard-container styles moved to dashboard.css - do not override */
.dashboard-container {
    /* Styles managed by dashboard.css */
}

.dashboard-container::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 80%, rgba(247, 55, 79, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(136, 48, 78, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(82, 37, 70, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ========================================
   PREMIUM SIDEBAR NAVIGATION - BEAUTIFUL DESIGN
   ======================================== */

.sidebar {
    position: fixed;
    top: 0;
    right: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(180deg, 
        var(--primary-black) 0%, 
        var(--dark-purple) 25%, 
        var(--primary-purple) 50%, 
        var(--primary-red) 75%, 
        var(--primary-black) 100%);
    padding: 0;
    overflow-y: auto;
    z-index: 999;
    box-shadow: 
        0 0 50px rgba(247, 55, 79, 0.3),
        inset -2px 0 20px rgba(0, 0, 0, 0.3);
    border-left: 3px solid var(--primary-gold);
    position: relative;
    overflow: hidden;
}

.sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 80% 20%, rgba(247, 55, 79, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 20% 80%, rgba(136, 48, 78, 0.15) 0%, transparent 50%),
        linear-gradient(45deg, transparent 30%, rgba(255, 215, 0, 0.05) 50%, transparent 70%);
    pointer-events: none;
    animation: sidebarGlow 8s ease-in-out infinite;
}

.sidebar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        transparent 20%, 
        transparent 80%, 
        rgba(0, 0, 0, 0.2) 100%);
    pointer-events: none;
}

/* Sidebar Header */
.sidebar-header {
    padding: var(--spacing-xxl) var(--spacing-xl);
    text-align: center;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.1), rgba(136, 48, 78, 0.1));
    margin: var(--spacing-lg);
    border-radius: var(--radius-lg);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.sidebar-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin: 0 0 var(--spacing-sm) 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    letter-spacing: 1px;
}

.sidebar-header p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-weight: 400;
}

/* Sidebar Navigation List */
.sidebar ul {
    list-style: none;
    padding: var(--spacing-lg) var(--spacing-md);
    margin: 0;
    width: 100%;
    position: relative;
    z-index: 2;
}

.sidebar li {
    margin: 0 0 var(--spacing-sm) 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.sidebar li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(247, 55, 79, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.sidebar li:hover {
    transform: translateX(-8px) scale(1.02);
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.3);
    border-color: var(--primary-red);
}

.sidebar li:hover::before {
    opacity: 1;
}

.sidebar li.active {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    border-color: var(--primary-gold);
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.4);
    transform: translateX(-5px);
}

.sidebar li.active::before {
    opacity: 0;
}

/* Sidebar Links */
.sidebar a {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xl) var(--spacing-lg);
    color: rgba(255, 255, 255, 0.9);
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: var(--font-primary);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    width: 100%;
    min-height: 70px;
    box-sizing: border-box;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5px;
}

.sidebar a::before {
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(135deg, var(--primary-gold), rgba(255, 215, 0, 0.8));
    transition: width 0.4s ease;
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.sidebar a::after {
    content: '';
    position: absolute;
    top: 50%;
    right: var(--spacing-md);
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid var(--primary-gold);
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    opacity: 0;
    transition: all 0.3s ease;
}

.sidebar a:hover {
    color: var(--text-white);
    transform: translateX(-5px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.sidebar a:hover::before {
    width: 6px;
}

.sidebar a:hover::after {
    opacity: 1;
    right: var(--spacing-sm);
}

.sidebar a.active {
    color: var(--text-white);
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.sidebar a.active::before {
    width: 6px;
    background: var(--primary-gold);
}

.sidebar a.active::after {
    opacity: 1;
    right: var(--spacing-sm);
}

/* Sidebar Icons */
.sidebar a i {
    width: 28px;
    text-align: center;
    font-size: 1.4rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    flex-shrink: 0;
    color: var(--primary-gold);
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.sidebar a:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-gold);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.6));
}

.sidebar a.active i {
    color: var(--primary-gold);
    transform: scale(1.1);
    filter: drop-shadow(0 4px 8px rgba(255, 215, 0, 0.8));
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
    position: fixed;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    z-index: 1000;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: white;
    border: none;
    border-radius: var(--radius-lg);
    width: 60px;
    height: 60px;
    display: none; /* Hidden by default, shown on mobile */
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.4);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle:hover {
    transform: scale(1.1) rotate(90deg);
    box-shadow: 0 12px 35px rgba(247, 55, 79, 0.5);
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
}

.mobile-menu-toggle:active {
    transform: scale(0.95);
}

/* Search Container */
.search-container {
    display: flex;
    gap: 12px;
    margin-bottom: var(--spacing-lg);
    align-items: center;
}

.search-container input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid #E9ECEF;
    border-radius: var(--radius-md);
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 14px;
    font-family: var(--font-primary);
}

.search-container input:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 3px rgba(247, 55, 79, 0.1);
}

/* Category Tabs */
.category-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: var(--spacing-lg);
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 20px;
    background: var(--bg-accent);
    color: var(--text-secondary);
    border: 2px solid #E9ECEF;
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: var(--transition-normal);
    font-size: 14px;
    font-weight: 500;
    font-family: var(--font-primary);
}

.tab-btn:hover {
    background: var(--primary-red);
    color: var(--text-white);
    border-color: var(--primary-red);
}

.tab-btn.active {
    background: var(--primary-red);
    color: var(--text-white);
    border-color: var(--primary-red);
}

/* Form Grid */
.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.form-section {
    background: var(--bg-accent);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid #E9ECEF;
    transition: var(--transition-normal);
}

.form-section:hover {
    border-color: var(--primary-red);
    box-shadow: 0 2px 8px rgba(247, 55, 79, 0.1);
}

.form-section h4 {
    color: var(--text-primary);
    margin-bottom: var(--spacing-md);
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-primary);
}

/* Items Container */
.items-container {
    /* display: grid; */
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    margin-top: var(--spacing-lg);
}

.item-box {
    background: var(--bg-primary);
    padding: var(--spacing-lg);
    border-radius: var(--radius-md);
    border: 1px solid #E9ECEF;
    transition: var(--transition-normal);
    box-shadow: var(--shadow-light);
}

.item-box:hover {
    border-color: var(--primary-red);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

/* Form Actions */
.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: var(--spacing-lg);
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-red);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .sidebar {
        width: 280px;
    }
    
    /* dashboard-container responsive styles managed by dashboard.css */
    
    .sidebar-header h1 {
        font-size: 1.5rem;
    }
    
    .sidebar a {
        font-size: 1rem;
        padding: var(--spacing-lg) var(--spacing-md);
    }
}

@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }
    
    .sidebar.mobile-open {
        transform: translateX(0);
    }
    
    /* dashboard-container responsive styles managed by dashboard.css */
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sidebar-header {
        margin: var(--spacing-md);
        padding: var(--spacing-lg);
    }
    
    .sidebar-header h1 {
        font-size: 1.3rem;
    }
    
    .sidebar a {
        font-size: 0.95rem;
        padding: var(--spacing-md) var(--spacing-sm);
        min-height: 60px;
    }
    
    .sidebar a i {
        font-size: 1.2rem;
        width: 24px;
    }
    
    main {
        padding: var(--spacing-lg);
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    .items-container {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .sidebar {
        width: 100%;
        height: auto;
        position: relative;
    }
    
    /* dashboard-container responsive styles managed by dashboard.css */
    
    body:has(.login-container) {
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding-top: var(--spacing-lg);
        min-height: 100vh;
    }
    
    .login-container {
        margin: var(--spacing-lg);
        padding: var(--spacing-lg);
        max-width: none;
        position: relative;
        width: calc(100% - 2rem);
    }
    
    .form-group {
        margin-bottom: var(--spacing-md);
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 16px 18px;
        font-size: 16px;
    }
    
    .login-btn {
        padding: 18px 24px;
        font-size: 16px;
    }
    
    .modal-content {
        margin: var(--spacing-lg);
        width: calc(100% - 2rem);
        padding: var(--spacing-lg);
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-accent);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-purple);
    border-radius: 4px;
    transition: var(--transition-fast);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-red);
}

/* Sidebar specific scrollbar */
.sidebar::-webkit-scrollbar {
    width: 4px;
}

.sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* Utility Classes */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-left { text-align: left; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }

/* ========================================
   COMPREHENSIVE DASHBOARD WIDGETS
   ======================================== */

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: var(--spacing-xl);
    margin-bottom: var(--spacing-xxl);
}

/* Dashboard Widgets */
.dashboard-widget {
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border: 2px solid rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-xl);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.dashboard-widget::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(247, 55, 79, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.dashboard-widget:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(247, 55, 79, 0.15);
    border-color: var(--primary-red);
}

/* Widget Header */
.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.08), rgba(136, 48, 78, 0.08));
    border-bottom: 2px solid rgba(247, 55, 79, 0.1);
    position: relative;
    z-index: 2;
}

.widget-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.widget-header h3 i {
    color: var(--primary-purple);
    animation: pulse 2s infinite;
}

.widget-toggle {
    background: none;
    border: none;
    color: var(--primary-red);
    font-size: 1.2rem;
    cursor: pointer;
    padding: var(--spacing-sm);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.widget-toggle:hover {
    background: rgba(247, 55, 79, 0.1);
    transform: scale(1.1);
}

/* Widget Content */
.widget-content {
    padding: var(--spacing-xl);
    position: relative;
    z-index: 2;
}

/* Quick Actions Widget */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-lg);
}

.action-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.05));
    border: 2px solid rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-lg);
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(247, 55, 79, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn i {
    font-size: 2rem;
    color: var(--primary-red);
    transition: all 0.3s ease;
}

.action-btn span {
    font-size: 1rem;
    font-weight: 600;
    position: relative;
    z-index: 2;
}

.action-btn:hover {
    transform: translateY(-5px) scale(1.05);
    border-color: var(--primary-red);
    box-shadow: 0 15px 40px rgba(247, 55, 79, 0.2);
}

.action-btn:hover i {
    transform: scale(1.2) rotate(5deg);
    color: var(--primary-purple);
}

.action-btn.primary {
    border-color: rgba(247, 55, 79, 0.2);
}

.action-btn.success {
    border-color: rgba(40, 167, 69, 0.2);
}

.action-btn.warning {
    border-color: rgba(255, 193, 7, 0.2);
}

.action-btn.info {
    border-color: rgba(23, 162, 184, 0.2);
}

.action-btn.secondary {
    border-color: rgba(108, 117, 125, 0.2);
}

.action-btn.danger {
    border-color: rgba(220, 53, 69, 0.2);
}

/* Upcoming Events Widget */
.events-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.event-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border: 2px solid rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.event-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(247, 55, 79, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.event-item:hover {
    transform: translateX(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(247, 55, 79, 0.15);
}

.event-item:hover::before {
    opacity: 1;
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: white;
    padding: var(--spacing-md);
    border-radius: var(--radius-lg);
    min-width: 60px;
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.3);
}

.event-date .day {
    font-size: 1.5rem;
    font-weight: 800;
    line-height: 1;
}

.event-date .month {
    font-size: 0.9rem;
    font-weight: 600;
    opacity: 0.9;
}

.event-details {
    flex: 1;
    position: relative;
    z-index: 2;
}

.event-details h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-red);
    margin: 0 0 var(--spacing-sm) 0;
}

.event-details p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin: 0 0 var(--spacing-xs) 0;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.event-details i {
    color: var(--primary-purple);
    width: 16px;
}

.event-status {
    position: relative;
    z-index: 2;
}

.status-badge {
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.confirmed {
    background: rgba(40, 167, 69, 0.1);
    color: #28a745;
    border: 1px solid rgba(40, 167, 69, 0.2);
}

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

/* Recent Activities Widget */
.activities-list {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.activity-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border: 2px solid rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.activity-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(247, 55, 79, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.activity-item:hover {
    transform: translateX(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(247, 55, 79, 0.15);
}

.activity-item:hover::before {
    opacity: 1;
}

.activity-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: white;
    position: relative;
    z-index: 2;
}

.activity-icon.success {
    background: linear-gradient(135deg, #28a745, #20c997);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.activity-icon.info {
    background: linear-gradient(135deg, #17a2b8, #6f42c1);
    box-shadow: 0 8px 25px rgba(23, 162, 184, 0.3);
}

.activity-icon.warning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    box-shadow: 0 8px 25px rgba(255, 193, 7, 0.3);
}

.activity-icon.primary {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.3);
}

.activity-content {
    flex: 1;
    position: relative;
    z-index: 2;
}

.activity-content p {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-xs) 0;
}

.activity-time {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* Financial Overview Widget */
.financial-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.financial-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border: 2px solid rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.financial-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(247, 55, 79, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.financial-item:hover {
    transform: translateX(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(247, 55, 79, 0.15);
}

.financial-item:hover::before {
    opacity: 1;
}

.financial-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

.financial-value {
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
    z-index: 2;
}

.financial-value.positive {
    color: #28a745;
}

.financial-value.negative {
    color: #dc3545;
}

/* Customer Satisfaction Widget */
.satisfaction-overview {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xl);
}

.satisfaction-rating {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-md);
    padding: var(--spacing-xl);
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border: 2px solid rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

.satisfaction-rating::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(247, 55, 79, 0.05) 0%, transparent 70%);
    pointer-events: none;
}

.rating-stars {
    display: flex;
    gap: var(--spacing-xs);
    position: relative;
    z-index: 2;
}

.rating-stars i {
    font-size: 2rem;
    color: #ffc107;
    filter: drop-shadow(0 2px 4px rgba(255, 193, 7, 0.3));
    animation: pulse 2s infinite;
}

.rating-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-red);
    text-shadow: 0 2px 4px rgba(247, 55, 79, 0.2);
    position: relative;
    z-index: 2;
}

.satisfaction-stats {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.satisfaction-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    position: relative;
    z-index: 2;
}

.satisfaction-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-secondary);
    min-width: 100px;
}

.satisfaction-bar {
    flex: 1;
    height: 8px;
    background: rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-full);
    overflow: hidden;
    position: relative;
}

.satisfaction-fill {
    height: 100%;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    border-radius: var(--radius-full);
    transition: width 1s ease;
    position: relative;
}

.satisfaction-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;
}

.satisfaction-percent {
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary-red);
    min-width: 40px;
    text-align: center;
}

/* System Status Widget */
.status-items {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-lg);
}

.status-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--bg-primary), rgba(247, 55, 79, 0.02));
    border: 2px solid rgba(247, 55, 79, 0.1);
    border-radius: var(--radius-lg);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.status-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, transparent, rgba(247, 55, 79, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.status-item:hover {
    transform: translateX(-5px);
    border-color: var(--primary-red);
    box-shadow: 0 10px 30px rgba(247, 55, 79, 0.15);
}

.status-item:hover::before {
    opacity: 1;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    position: relative;
    z-index: 2;
}

.status-indicator.online {
    background: #28a745;
    box-shadow: 0 0 10px rgba(40, 167, 69, 0.5);
    animation: pulse 2s infinite;
}

.status-indicator.warning {
    background: #ffc107;
    box-shadow: 0 0 10px rgba(255, 193, 7, 0.5);
    animation: pulse 2s infinite;
}

.status-indicator.offline {
    background: #dc3545;
    box-shadow: 0 0 10px rgba(220, 53, 69, 0.5);
}

.status-label {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    z-index: 2;
}

.status-value {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    z-index: 2;
}

/* Widget Footer */
.widget-footer {
    padding: var(--spacing-lg) var(--spacing-xl);
    border-top: 2px solid rgba(247, 55, 79, 0.1);
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.05), rgba(136, 48, 78, 0.05));
    position: relative;
    z-index: 2;
}

.widget-footer .btn {
    width: 100%;
    justify-content: center;
}

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }

.d-none { display: none; }
.d-block { display: block; }
.d-flex { display: flex; }
.d-grid { display: grid; }

/* ========================================
   BIG BEAUTIFUL CALENDAR STYLES
   ======================================== */

/* Big Beautiful Calendar Styles */
.big-calendar-container {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    border-radius: var(--radius-xl);
    padding: var(--spacing-xxl);
    margin-bottom: var(--spacing-xxl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(247, 55, 79, 0.1);
}

.calendar-header-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-xxl);
    padding: var(--spacing-lg);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    border-radius: var(--radius-lg);
    color: white;
}

.calendar-navigation {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.nav-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    font-size: 1.1rem;
}

.nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.calendar-title-section {
    text-align: center;
}

.calendar-title-section h3 {
    font-size: 2.5rem;
    margin: 0;
    font-weight: 800;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.calendar-title-section p {
    font-size: 1.1rem;
    margin: var(--spacing-xs) 0 0 0;
    opacity: 0.9;
}

.calendar-actions {
    display: flex;
    gap: var(--spacing-md);
}

.action-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-md);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    font-weight: 600;
    font-size: 1rem;
}

.action-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.big-calendar-grid {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: white;
}

.weekday {
    padding: var(--spacing-lg);
    text-align: center;
    font-weight: 700;
    font-size: 1.1rem;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.weekday:last-child {
    border-right: none;
}

.weekday.weekend {
    background: rgba(0, 0, 0, 0.1);
}

.calendar-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 1px;
    background: #e9ecef;
}

.calendar-day {
    background: white;
    min-height: 120px;
    padding: var(--spacing-md);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
}

.calendar-day:hover {
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.1), rgba(136, 48, 78, 0.1));
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(247, 55, 79, 0.2);
    z-index: 2;
}

.calendar-day.today {
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    color: white;
    font-weight: 700;
}

.calendar-day.today:hover {
    background: linear-gradient(135deg, var(--primary-purple), var(--dark-purple));
}

.calendar-day.has-events {
    background: linear-gradient(135deg, rgba(247, 55, 79, 0.05), rgba(136, 48, 78, 0.05));
    border-left: 4px solid var(--primary-red);
}

.calendar-day.has-events::after {
    content: '';
    position: absolute;
    top: 8px;
    right: 8px;
    width: 8px;
    height: 8px;
    background: var(--primary-red);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(247, 55, 79, 0.5);
}

.day-number {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: var(--spacing-xs);
}

.event-indicator {
    width: 6px;
    height: 6px;
    background: var(--primary-red);
    border-radius: 50%;
    margin: 2px 0;
    box-shadow: 0 0 8px rgba(247, 55, 79, 0.6);
}

/* Events Summary */
.events-summary {
    margin-bottom: var(--spacing-xxl);
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.summary-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(247, 55, 79, 0.1);
    display: flex;
    align-items: center;
    gap: var(--spacing-lg);
    transition: all 0.3s ease;
}

.summary-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 60px rgba(247, 55, 79, 0.2);
}

.card-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-red), var(--primary-purple));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.card-content h4 {
    margin: 0 0 var(--spacing-xs) 0;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
}

.card-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-red);
    text-shadow: 0 2px 4px rgba(247, 55, 79, 0.3);
}

/* Selected Date Events */
.selected-date-events {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xl);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(247, 55, 79, 0.1);
    margin-top: var(--spacing-lg);
}

.selected-date-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-lg);
    padding-bottom: var(--spacing-md);
    border-bottom: 2px solid rgba(247, 55, 79, 0.1);
}

.selected-date-header h3 {
    margin: 0;
    color: var(--primary-red);
    font-size: 1.5rem;
    font-weight: 700;
}

.close-btn {
    background: var(--primary-red);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: var(--primary-purple);
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-header-section {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .calendar-navigation {
        flex-direction: column;
        gap: var(--spacing-md);
    }
    
    .calendar-title-section h3 {
        font-size: 2rem;
    }
    
    .calendar-day {
        min-height: 80px;
        padding: var(--spacing-sm);
    }
    
    .day-number {
        font-size: 1rem;
    }
    
    .summary-cards {
        grid-template-columns: 1fr;
    }
}

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Animation Classes */
.fade-in {
    animation: fadeIn 0.3s ease-out;
}

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

.slide-in-up {
    animation: slideInUp 0.3s ease-out;
}

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

/* Orders Section Button Styles */
.order-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

.order-btn.ordered {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
}

.print-order-btn {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.print-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.4);
}

.whatsapp-btn {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    border: none;
    padding: 8px 12px;
    border-radius: 8px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    margin: 0 4px;
}

.whatsapp-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
}

.order-status {
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.order-status.ordered {
    background: #d4edda;
    color: #155724;
}

.order-status.pending {
    background: #fff3cd;
    color: #856404;
}

/* ===== SETTINGS SECTION RESPONSIVE STYLES ===== */

/* Settings Section Base Styles */
.settings-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.settings-menu {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.settings-menu .btn {
    padding: 12px 24px;
    border: 2px solid #e9ecef;
    background: white;
    color: #495057;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.settings-menu .btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.settings-section {
    width: 100%;
}

/* Settings Headers */
.addon-items-header,
.ordered-items-header,
.employees-header,
.whatsapp-header,
.permissions-header {
    margin-bottom: 25px;
}

.addon-items-header h3,
.ordered-items-header h3,
.employees-header h3,
.whatsapp-header h3,
.permissions-header h3 {
    font-size: 24px;
    color: #2c3e50;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

/* Settings Controls */
.addon-controls,
.ordered-items-controls,
.employees-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.addon-filters,
.ordered-items-filters,
.employees-filters {
    display: flex;
    gap: 12px;
    flex: 1;
    max-width: 600px;
}

.addon-filters select,
.ordered-items-filters select,
.employees-filters select,
.addon-filters input,
.ordered-items-filters input,
.employees-filters input {
    padding: 10px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s;
}

.addon-filters input,
.ordered-items-filters input,
.employees-filters input {
    flex: 1;
    min-width: 200px;
}

/* Settings Tables */
.addon-items-table-container,
.ordered-items-table-container,
.employees-table-container {
    overflow-x: auto;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.addon-items-table,
.ordered-items-table,
.employees-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.addon-items-table thead,
.ordered-items-table thead,
.employees-table thead {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.addon-items-table th,
.ordered-items-table th,
.employees-table th {
    padding: 16px;
    text-align: right;
    font-weight: 700;
    font-size: 14px;
}

.addon-items-table td,
.ordered-items-table td,
.employees-table td {
    padding: 14px 16px;
    border-bottom: 1px solid #e9ecef;
    font-size: 14px;
}

.addon-items-table tbody tr:hover,
.ordered-items-table tbody tr:hover,
.employees-table tbody tr:hover {
    background: #f8f9fa;
}

/* WhatsApp Section */
.whatsapp-status-card {
    background: white;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    flex-wrap: wrap;
    gap: 15px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #28a745;
    animation: pulse 2s infinite;
}

/* Permissions Section */
.access-tabs {
    display: flex;
    gap: 12px;
    margin-bottom: 25px;
    border-bottom: 3px solid #e9ecef;
    padding-bottom: 0;
    overflow-x: auto;
    flex-wrap: wrap;
}

.access-tab {
    padding: 14px 24px;
    background: #e9ecef;
    color: #495057;
    border: none;
    border-radius: 12px 12px 0 0;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
    white-space: nowrap;
}

.access-tab.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    box-shadow: 0 -2px 10px rgba(102, 126, 234, 0.3);
}

/* Mobile Responsive Styles for Settings */
@media (max-width: 1024px) {
    /* Settings Menu - Make buttons smaller on tablets */
    .settings-menu .btn {
        padding: 10px 18px;
        font-size: 13px;
    }
    
    /* Settings Controls - Stack vertically */
    .addon-controls,
    .ordered-items-controls,
    .employees-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .addon-filters,
    .ordered-items-filters,
    .employees-filters {
        max-width: 100%;
    }
    
    /* Permissions - Smaller tabs */
    .access-tab {
        padding: 12px 18px;
        font-size: 13px;
    }
}

@media (max-width: 768px) {
    /* Settings Container */
    .settings-container {
        flex-direction: column;
        gap: 15px;
    }
    
    /* Settings Menu - Full width buttons */
    .settings-menu {
        flex-direction: column;
        gap: 8px;
    }
    
    .settings-menu .btn {
        width: 100%;
        padding: 14px 20px;
        font-size: 15px;
        text-align: right;
        justify-content: flex-start;
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    /* Settings Headers */
    .addon-items-header h3,
    .ordered-items-header h3,
    .employees-header h3,
    .whatsapp-header h3,
    .permissions-header h3 {
        font-size: 20px;
    }
    
    /* Settings Controls - Full width */
    .addon-controls,
    .ordered-items-controls,
    .employees-controls {
        flex-direction: column;
        gap: 15px;
    }
    
    .addon-controls button,
    .ordered-items-controls button,
    .employees-controls button {
        width: 100%;
    }
    
    /* Settings Filters - Stack vertically */
    .addon-filters,
    .ordered-items-filters,
    .employees-filters {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
    }
    
    .addon-filters select,
    .ordered-items-filters select,
    .employees-filters select,
    .addon-filters input,
    .ordered-items-filters input,
    .employees-filters input {
        width: 100%;
        min-width: auto;
    }
    
    /* Settings Tables - Reduce padding */
    .addon-items-table,
    .ordered-items-table,
    .employees-table {
        min-width: 600px;
        font-size: 13px;
    }
    
    .addon-items-table th,
    .ordered-items-table th,
    .employees-table th {
        padding: 12px 10px;
        font-size: 12px;
    }
    
    .addon-items-table td,
    .ordered-items-table td,
    .employees-table td {
        padding: 10px;
        font-size: 13px;
    }
    
    /* WhatsApp Status Card */
    .whatsapp-status-card {
        flex-direction: column;
        align-items: stretch;
        padding: 15px;
    }
    
    .status-indicator {
        justify-content: center;
    }
    
    .whatsapp-status-card button {
        width: 100%;
    }
    
    /* WhatsApp Members Card */
    .whatsapp-members-card {
        padding: 15px !important;
        margin: 15px 0 !important;
    }
    
    .whatsapp-members-card h4 {
        font-size: 16px !important;
    }
    
    .whatsapp-members-table-container {
        overflow-x: auto;
    }
    
    #whatsappMembersTable {
        min-width: 500px;
        font-size: 13px;
    }
    
    #whatsappMembersTable th,
    #whatsappMembersTable td {
        padding: 10px !important;
        font-size: 12px !important;
    }
    
    /* QR Code Section */
    .qr-code-container {
        padding: 15px;
    }
    
    .qr-code-display {
        padding: 20px;
    }
    
    /* Permissions Section */
    .permissions-header {
        margin-bottom: 20px;
    }
    
    .permissions-header h3 {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .permissions-header p {
        font-size: 13px;
    }
    
    /* Access Tabs - Horizontal scroll */
    .access-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: thin;
    }
    
    .access-tab {
        padding: 12px 16px;
        font-size: 12px;
        flex-shrink: 0;
    }
    
    /* Current Access Info */
    #currentAccessInfo {
        padding: 15px;
        margin-bottom: 20px;
    }
    
    #currentAccessInfo h4 {
        font-size: 14px;
    }
    
    #currentAccessInfo p {
        font-size: 12px;
    }
    
    /* Permissions Table Container */
    #permissionsTableContainer {
        padding: 15px !important;
        margin: 0;
    }
    
    /* Permissions Table - Horizontal scroll */
    #permissionsTableContainer > div {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    #permissionsTable {
        min-width: 800px;
        font-size: 12px;
    }
    
    #permissionsTable th {
        padding: 10px !important;
        font-size: 11px !important;
    }
    
    #permissionsTable td {
        padding: 8px !important;
        font-size: 11px !important;
    }
    
    #permissionsTable thead tr:first-child th {
        font-size: 12px !important;
    }
    
    /* Pending Changes Warning */
    #pendingChangesWarning {
        padding: 12px;
        margin-bottom: 15px;
    }
    
    #pendingChangesWarning h4 {
        font-size: 13px;
    }
    
    #pendingChangesWarning p {
        font-size: 11px;
    }
    
    /* Action Buttons */
    #permissionsSection .action-buttons,
    div[style*="display: flex"][style*="gap: 15px"] {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    #permissionsSection button,
    #savePermissionsBtn,
    button[onclick*="resetToDefaults"],
    button[onclick*="exportPermissions"] {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 14px !important;
        justify-content: center;
    }
    
    /* Debug Tools */
    div[style*="border: 2px dashed"] {
        padding: 15px !important;
        margin-top: 20px !important;
    }
    
    div[style*="border: 2px dashed"] h4 {
        font-size: 13px !important;
    }
    
    div[style*="border: 2px dashed"] button {
        padding: 10px 14px !important;
        font-size: 11px !important;
    }
    
    div[style*="border: 2px dashed"] p {
        font-size: 10px !important;
    }
    
    /* Info Boxes Grid */
    div[style*="grid-template-columns: repeat(auto-fit"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
    
    /* Info Box Content */
    div[style*="border-right: 5px solid"] {
        padding: 15px !important;
    }
    
    div[style*="border-right: 5px solid"] h4 {
        font-size: 14px !important;
    }
    
    div[style*="border-right: 5px solid"] ul {
        font-size: 12px !important;
    }
}

@media (max-width: 480px) {
    /* Extra small devices - Even more compact */
    .settings-menu .btn {
        padding: 12px 16px;
        font-size: 14px;
    }
    
    .addon-items-header h3,
    .ordered-items-header h3,
    .employees-header h3 {
        font-size: 18px;
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    /* Tables - Even more compact */
    .addon-items-table,
    .ordered-items-table,
    .employees-table {
        min-width: 500px;
        font-size: 12px;
    }
    
    .addon-items-table th,
    .ordered-items-table th,
    .employees-table th {
        padding: 10px 8px;
        font-size: 11px;
    }
    
    .addon-items-table td,
    .ordered-items-table td,
    .employees-table td {
        padding: 8px;
        font-size: 12px;
    }
    
    /* Action buttons in tables */
    .addon-items-table .btn,
    .ordered-items-table .btn,
    .employees-table .btn {
        padding: 6px 10px;
        font-size: 11px;
    }
    
    /* Access Tabs - More compact */
    .access-tab {
        padding: 10px 12px;
        font-size: 11px;
    }
    
    /* Permissions Table - Ultra compact */
    #permissionsTable {
        min-width: 700px;
        font-size: 11px;
    }
    
    #permissionsTable th,
    #permissionsTable td {
        padding: 6px !important;
        font-size: 10px !important;
    }
    
    /* Checkbox inputs - Bigger touch targets */
    #permissionsTable input[type="checkbox"] {
        width: 20px;
        height: 20px;
        cursor: pointer;
    }
    
    /* WhatsApp table - More compact */
    #whatsappMembersTable {
        min-width: 450px;
        font-size: 12px;
    }
    
    #whatsappMembersTable th,
    #whatsappMembersTable td {
        padding: 8px !important;
        font-size: 11px !important;
    }
}

/* Landscape mode optimization for mobile */
@media (max-width: 896px) and (orientation: landscape) {
    .settings-menu {
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    .settings-menu .btn {
        width: auto;
        flex: 1;
        min-width: 150px;
    }
    
    .access-tabs {
        flex-wrap: wrap;
    }
}

/* Settings Modals Responsive */
@media (max-width: 768px) {
    /* Add/Edit Modal for Addon Items */
    #addAddonItemModal .modal-content,
    #editAddonItemModal .modal-content,
    #addEmployerModal .modal-content,
    #editEmployerModal .modal-content,
    #addOrderedItemModal .modal-content,
    #editOrderedItemModal .modal-content {
        width: 95% !important;
        max-width: 95% !important;
        margin: 10px auto !important;
        max-height: 90vh !important;
    }
    
    /* Modal Headers */
    .modal-content h3,
    .modal-content h4 {
        font-size: 18px !important;
    }
    
    /* Form Groups in Modals */
    .modal-content .form-group {
        margin-bottom: 15px;
    }
    
    .modal-content label {
        font-size: 13px;
        margin-bottom: 6px;
    }
    
    .modal-content input,
    .modal-content select,
    .modal-content textarea {
        padding: 10px 12px;
        font-size: 14px;
    }
    
    /* Modal Buttons */
    .modal-content button,
    .modal-content .btn {
        padding: 12px 20px !important;
        font-size: 14px !important;
        width: 100% !important;
        margin-bottom: 10px;
    }
    
    .modal-content .button-group {
        flex-direction: column !important;
        gap: 10px !important;
    }
    
    /* Form Grid in Modals */
    .modal-content .form-row,
    .modal-content .form-grid {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }
}

@media (max-width: 480px) {
    /* Even smaller modals for tiny screens */
    #addAddonItemModal .modal-content,
    #editAddonItemModal .modal-content,
    #addEmployerModal .modal-content,
    #editEmployerModal .modal-content,
    #addOrderedItemModal .modal-content,
    #editOrderedItemModal .modal-content {
        width: 98% !important;
        margin: 5px auto !important;
        padding: 15px !important;
    }
    
    .modal-content h3,
    .modal-content h4 {
        font-size: 16px !important;
    }
    
    .modal-content label {
        font-size: 12px;
    }
    
    .modal-content input,
    .modal-content select,
    .modal-content textarea {
        font-size: 13px;
        padding: 8px 10px;
    }
}

/* ===== ORDERS TABS STYLES ===== */
.orders-tabs-container {
    margin: 20px 0;
    padding: 0 20px;
}

.orders-tabs {
    display: flex;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 4px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    max-width: 600px;
    margin: 0 auto;
}

.orders-tab {
    flex: 1;
    padding: 12px 20px;
    border: none;
    background: transparent;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 500;
    color: #6c757d;
    position: relative;
    overflow: hidden;
}

.orders-tab:hover {
    background: rgba(255,255,255,0.7);
    color: #495057;
    transform: translateY(-1px);
}

.orders-tab.active {
    background: linear-gradient(135deg, #007bff 0%, #0056b3 100%);
    color: white;
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
    transform: translateY(-2px);
}

.orders-tab.active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1) 0%, transparent 100%);
    pointer-events: none;
}

.orders-tab i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.orders-tab.active i {
    transform: scale(1.1);
}

.orders-tab span {
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mobile Responsive for Orders Tabs */
@media (max-width: 768px) {
    .orders-tabs-container {
        margin: 15px 0;
        padding: 0 15px;
    }
    
    .orders-tabs {
        max-width: 100%;
        padding: 3px;
    }
    
    .orders-tab {
        padding: 10px 15px;
        font-size: 13px;
        gap: 6px;
    }
    
    .orders-tab i {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .orders-tabs-container {
        margin: 10px 0;
        padding: 0 10px;
    }
    
    .orders-tab {
        padding: 8px 12px;
        font-size: 12px;
        gap: 4px;
    }
    
    .orders-tab i {
        font-size: 13px;
    }
    
    .orders-tab span {
        display: none;
    }
    
    .orders-tab i {
        margin: 0;
    }
}

/* ===== FORM VALIDATION STYLES ===== */

/* Validation Error Message */
.validation-error-container {
    position: fixed;
    top: 80px;
    right: 20px;
    z-index: 10000;
    max-width: 450px;
    width: 90%;
    animation: slideInRight 0.4s ease-out;
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOutRight {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

.validation-error-box {
    background: linear-gradient(135deg, #fff 0%, #ffe5e5 100%);
    border: 3px solid #dc3545;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(220, 53, 69, 0.3);
    padding: 20px;
    position: relative;
    overflow: hidden;
}

.validation-error-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 5px;
    height: 100%;
    background: linear-gradient(180deg, #dc3545 0%, #c82333 100%);
}

.validation-error-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.validation-error-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    animation: shake 0.5s;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.validation-error-title {
    flex: 1;
}

.validation-error-title h4 {
    margin: 0 0 5px 0;
    color: #721c24;
    font-size: 18px;
    font-weight: 700;
}

.validation-error-title p {
    margin: 0;
    color: #721c24;
    font-size: 13px;
    opacity: 0.8;
}

.validation-error-close {
    background: none;
    border: none;
    color: #721c24;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.validation-error-close:hover {
    background: rgba(220, 53, 69, 0.1);
    transform: rotate(90deg);
}

.validation-error-list {
    margin: 15px 0 0 0;
    padding: 0;
    list-style: none;
}

.validation-error-list li {
    background: white;
    border: 2px solid #f8d7da;
    border-radius: 10px;
    padding: 12px 15px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s;
    animation: fadeIn 0.3s ease-out backwards;
}

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

.validation-error-list li:nth-child(1) { animation-delay: 0.1s; }
.validation-error-list li:nth-child(2) { animation-delay: 0.2s; }
.validation-error-list li:nth-child(3) { animation-delay: 0.3s; }
.validation-error-list li:nth-child(4) { animation-delay: 0.4s; }
.validation-error-list li:nth-child(5) { animation-delay: 0.5s; }
.validation-error-list li:nth-child(n+6) { animation-delay: 0.6s; }

.validation-error-list li:hover {
    border-color: #dc3545;
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.2);
    transform: translateX(-3px);
}

.validation-error-list li::before {
    content: '✕';
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}

.validation-error-list li span {
    color: #721c24;
    font-weight: 600;
    font-size: 14px;
}

.validation-error-footer {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 2px dashed rgba(220, 53, 69, 0.3);
    text-align: center;
}

.validation-error-footer button {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.validation-error-footer button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

/* Field Error State */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border: 2px solid #dc3545 !important;
    background: rgba(220, 53, 69, 0.05);
    animation: fieldShake 0.3s;
}

@keyframes fieldShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.form-group.error .input-icon {
    color: #dc3545 !important;
}

.form-group.error label {
    color: #dc3545 !important;
}

.field-error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 5px;
    animation: fadeIn 0.3s;
}

.field-error-message i {
    font-size: 10px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .validation-error-container {
        top: 70px;
        right: 10px;
        left: 10px;
        width: auto;
        max-width: none;
        animation: slideInTop 0.4s ease-out;
    }
    
    @keyframes slideInTop {
        from {
            transform: translateY(-100%);
            opacity: 0;
        }
        to {
            transform: translateY(0);
            opacity: 1;
        }
    }
    
    .validation-error-box {
        padding: 15px;
        border-radius: 12px;
    }
    
    .validation-error-header {
        flex-direction: row;
        gap: 10px;
        margin-bottom: 12px;
    }
    
    .validation-error-icon {
        width: 45px;
        height: 45px;
        font-size: 22px;
        flex-shrink: 0;
    }
    
    .validation-error-title {
        flex: 1;
    }
    
    .validation-error-title h4 {
        font-size: 15px;
        margin-bottom: 3px;
        line-height: 1.3;
    }
    
    .validation-error-title p {
        font-size: 12px;
        line-height: 1.4;
    }
    
    .validation-error-close {
        width: 32px;
        height: 32px;
        font-size: 22px;
        flex-shrink: 0;
    }
    
    .validation-error-list {
        margin: 12px 0 0 0;
        max-height: 50vh;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .validation-error-list li {
        padding: 10px 12px;
        margin-bottom: 8px;
        border-radius: 8px;
    }
    
    .validation-error-list li::before {
        width: 22px;
        height: 22px;
        font-size: 13px;
    }
    
    .validation-error-list li span {
        font-size: 13px;
        line-height: 1.4;
    }
    
    .validation-error-footer {
        margin-top: 12px;
        padding-top: 12px;
    }
    
    .validation-error-footer button {
        width: 100%;
        padding: 12px 20px;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .validation-error-container {
        top: 60px;
        right: 8px;
        left: 8px;
    }
    
    .validation-error-box {
        padding: 12px;
        border-radius: 10px;
    }
    
    .validation-error-header {
        gap: 8px;
        margin-bottom: 10px;
    }
    
    .validation-error-icon {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
    
    .validation-error-title h4 {
        font-size: 14px;
        margin-bottom: 2px;
    }
    
    .validation-error-title p {
        font-size: 11px;
    }
    
    .validation-error-close {
        width: 28px;
        height: 28px;
        font-size: 20px;
    }
    
    .validation-error-list {
        margin: 10px 0 0 0;
        max-height: 45vh;
    }
    
    .validation-error-list li {
        padding: 9px 10px;
        margin-bottom: 6px;
        border-radius: 6px;
        gap: 10px;
    }
    
    .validation-error-list li::before {
        width: 20px;
        height: 20px;
        font-size: 12px;
    }
    
    .validation-error-list li span {
        font-size: 12px;
    }
    
    .validation-error-footer {
        margin-top: 10px;
        padding-top: 10px;
    }
    
    .validation-error-footer button {
        padding: 10px 16px;
        font-size: 13px;
    }
}

@media (max-width: 360px) {
    .validation-error-container {
        top: 55px;
        right: 5px;
        left: 5px;
    }
    
    .validation-error-box {
        padding: 10px;
        border-radius: 8px;
    }
    
    .validation-error-header {
        gap: 6px;
    }
    
    .validation-error-icon {
        width: 35px;
        height: 35px;
        font-size: 16px;
    }
    
    .validation-error-title h4 {
        font-size: 13px;
    }
    
    .validation-error-title p {
        font-size: 10px;
    }
    
    .validation-error-close {
        width: 26px;
        height: 26px;
        font-size: 18px;
    }
    
    .validation-error-list {
        max-height: 40vh;
    }
    
    .validation-error-list li {
        padding: 8px;
        margin-bottom: 5px;
        gap: 8px;
    }
    
    .validation-error-list li::before {
        width: 18px;
        height: 18px;
        font-size: 11px;
    }
    
    .validation-error-list li span {
        font-size: 11px;
    }
    
    .validation-error-footer button {
        padding: 9px 14px;
        font-size: 12px;
    }
}

/* Landscape mode for small devices */
@media (max-width: 768px) and (orientation: landscape) {
    .validation-error-container {
        top: 10px;
        max-height: 90vh;
    }
    
    .validation-error-box {
        max-height: 88vh;
        display: flex;
        flex-direction: column;
    }
    
    .validation-error-list {
        max-height: 60vh;
        overflow-y: auto;
    }
}

/* Print Styles */
@media print {
    .validation-error-container {
        display: none !important;
    }
    
    .sidebar,
    .nav,
    .btn,
    .modal {
        display: none !important;
    }
    
    /* dashboard-container responsive styles managed by dashboard.css */
    
    body {
        background: white;
        color: black;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* ============================================
   Enhanced Contract Cards Styles
   ============================================ */

.contract-card-enhanced {
    background: white;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.contract-card-enhanced::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contract-card-enhanced:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    border-color: rgba(102, 126, 234, 0.3);
}

.contract-card-enhanced:hover::before {
    opacity: 1;
}

/* Status Ribbon */
.contract-status-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    border-radius: 0 16px 0 50px;
    z-index: 1;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Card Header */
.contract-card-header {
    margin-bottom: 8px;
}

.contract-customer-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.contract-customer-avatar {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
}

.contract-customer-details {
    flex: 1;
    min-width: 0;
}

.contract-customer-name {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #2c3e50;
    line-height: 1.3;
    margin-bottom: 4px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.contract-id-badge {
    display: inline-block;
    background: #f8f9fa;
    color: #6c757d;
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

/* Days Badge */
.contract-days-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    border-radius: 10px;
    border: 2px solid;
    font-size: 13px;
    font-weight: 600;
    width: fit-content;
    margin-bottom: 4px;
}

/* Contract Info Grid */
.contract-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 8px;
}

.contract-info-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 10px;
    transition: all 0.2s ease;
}

.contract-info-item:hover {
    background: #e9ecef;
    transform: translateX(-2px);
}

.contract-info-item i {
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
}

.contract-info-item > div {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.contract-info-item .info-label {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.contract-info-item .info-value {
    font-size: 13px;
    color: #2c3e50;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Payment Section */
.contract-payment-section {
    padding: 16px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    border: 1px solid #dee2e6;
    margin-top: 8px;
}

.payment-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.payment-label {
    font-size: 13px;
    font-weight: 600;
    color: #495057;
}

.payment-status-badge {
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 700;
    border: 1.5px solid;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.payment-progress-bar {
    width: 100%;
    height: 8px;
    background: #e9ecef;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}

.payment-progress-fill {
    height: 100%;
    border-radius: 10px;
    transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}

.payment-progress-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%); }
}

.payment-amounts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.payment-amount-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.payment-amount-item .amount-label {
    font-size: 11px;
    color: #6c757d;
    font-weight: 500;
}

.payment-amount-item .amount-value {
    font-size: 14px;
    font-family: 'Courier New', monospace;
}

/* Total Section */
.contract-total-section {
    padding: 14px 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 4px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.contract-total-section .total-label {
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
    font-weight: 600;
}

.contract-total-section .total-amount {
    color: white;
    font-size: 18px;
    font-weight: 800;
    font-family: 'Courier New', monospace;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

/* Action Buttons */
.contract-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 4px;
}

.contract-action-btn {
    flex: 1;
    min-width: 80px;
    padding: 10px 14px;
    border: none;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    color: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    position: relative;
    overflow: hidden;
}

.contract-action-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.contract-action-btn:hover::before {
    width: 300px;
    height: 300px;
}

.contract-action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
}

.contract-action-btn:active {
    transform: translateY(0);
}

.contract-action-btn i {
    font-size: 14px;
}

.contract-action-btn span {
    position: relative;
    z-index: 1;
}

.btn-view {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-edit {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.btn-print {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.btn-cancel {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
    .contract-card-enhanced {
        padding: 20px;
    }
    
    .contract-info-grid {
        grid-template-columns: 1fr;
    }
    
    .payment-amounts {
        grid-template-columns: 1fr;
    }
    
    .contract-actions {
        flex-direction: column;
    }
    
    .contract-action-btn {
        width: 100%;
    }
}

/* Empty State Enhancement */
#filtered-contracts-container > div[style*="text-align: center"] {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%) !important;
    border-radius: 16px !important;
    padding: 80px 20px !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05) !important;
}

#filtered-contracts-container > div[style*="text-align: center"] i {
    font-size: 64px !important;
    margin-bottom: 20px !important;
    opacity: 0.5;
}

#filtered-contracts-container > div[style*="text-align: center"] p {
    font-size: 18px !important;
    font-weight: 600 !important;
    color: #495057 !important;
}

/* ============================================
   Minimal Contract Cards Styles
   ============================================ */

.contract-card-minimal {
    background: #fafbfc;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    padding: 14px 16px;
    transition: all 0.2s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.contract-card-minimal:hover {
    background: #ffffff;
    border-color: #d1d5db;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Minimal Header */
.contract-minimal-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 12px;
    gap: 12px;
}

.contract-minimal-customer {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.contract-minimal-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.contract-minimal-info {
    flex: 1;
    min-width: 0;
}

.contract-minimal-name {
    margin: 0;
    font-size: 15px;
    font-weight: 600;
    color: #1f2937;
    line-height: 1.3;
    margin-bottom: 4px;
    word-wrap: break-word;
}

.contract-minimal-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    font-size: 12px;
    color: #6b7280;
}

.contract-minimal-date {
    display: flex;
    align-items: center;
    gap: 4px;
}

.contract-minimal-days {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.contract-minimal-days:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.contract-minimal-days i {
    font-size: 11px;
}

.contract-minimal-badges {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
    flex-shrink: 0;
}

.contract-minimal-id {
    background: #f3f4f6;
    color: #6b7280;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
    font-family: 'Courier New', monospace;
}

.contract-minimal-payment-indicator {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 600;
    border: 1px solid;
}

.payment-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    flex-shrink: 0;
}

/* Minimal Amount */
.contract-minimal-amount {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-top: 1px solid #e5e7eb;
    margin-top: 8px;
}

.contract-minimal-amount .amount-label {
    font-size: 12px;
    color: #6b7280;
    font-weight: 500;
}

.contract-minimal-amount .amount-value {
    font-size: 16px;
    font-weight: 700;
    color: #1f2937;
    font-family: 'Courier New', monospace;
}

/* Expanded Details */
.contract-expanded-details {
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e5e7eb;
    overflow: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease, max-height 0.3s ease;
}

.contract-details-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 12px;
}

.contract-detail-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b5563;
    padding: 6px 0;
}

.contract-detail-item i {
    color: #9ca3af;
    width: 16px;
    text-align: center;
}

.contract-detail-item strong {
    color: #1f2937;
    font-weight: 600;
}

/* Payment Details Compact */
.contract-payment-details {
    margin-bottom: 12px;
    padding: 12px;
    background: #f9fafb;
    border-radius: 8px;
}

.payment-progress-compact {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.payment-progress-bar-compact {
    width: 100%;
    height: 6px;
    background: #e5e7eb;
    border-radius: 10px;
    overflow: hidden;
}

.payment-progress-fill-compact {
    height: 100%;
    border-radius: 10px;
    transition: width 0.3s ease;
}

.payment-amounts-compact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    font-size: 12px;
}

.payment-amounts-compact > div {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.payment-amounts-compact span {
    color: #6b7280;
}

.payment-amounts-compact strong {
    font-size: 13px;
    font-family: 'Courier New', monospace;
}

/* Compact Actions */
.contract-actions-compact {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
    padding-top: 8px;
    border-top: 1px solid #e5e7eb;
}

.contract-action-icon {
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 14px;
    color: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.contract-action-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.btn-view-icon {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.btn-edit-icon {
    background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
}

.btn-print-icon {
    background: linear-gradient(135deg, #17a2b8 0%, #138496 100%);
}

.btn-cancel-icon {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .contract-minimal-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .contract-minimal-badges {
        flex-direction: row;
        align-items: center;
        width: 100%;
        justify-content: space-between;
    }
    
    .payment-amounts-compact {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   Luxury Navbar Styles (PC Only)
   ============================================ */

.sidebar-luxury {
    background: linear-gradient(180deg, 
        #0f1419 0%, 
        #1a1f2e 50%, 
        #0f1419 100%) !important;
    backdrop-filter: blur(30px) saturate(180%) !important;
    -webkit-backdrop-filter: blur(30px) saturate(180%) !important;
    border-left: 1px solid rgba(212, 175, 55, 0.2) !important;
    box-shadow: 
        -8px 0 40px rgba(0, 0, 0, 0.4),
        -4px 0 20px rgba(212, 175, 55, 0.08),
        inset -1px 0 0 rgba(255, 255, 255, 0.05) !important;
    position: relative;
    overflow: hidden;
}

.sidebar-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.sidebar-luxury::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.3) 20%, 
        rgba(212, 175, 55, 0.3) 80%, 
        transparent 100%);
    pointer-events: none;
    z-index: 2;
}

/* Top Accent Line */
.sidebar-accent-line {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(212, 175, 55, 0.6) 50%, 
        transparent 100%);
    z-index: 10;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

/* Premium Header */
.sidebar-header-luxury {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 3;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(10px);
}

.sidebar-logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sidebar-logo-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.2) 0%, 
        rgba(255, 215, 0, 0.15) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #D4AF37;
    box-shadow: 
        0 4px 12px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.sidebar-logo-icon:hover {
    transform: scale(1.05) rotate(5deg);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.3);
}

.sidebar-logo-text {
    flex: 1;
}

.sidebar-brand-name {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    line-height: 1.2;
}

.sidebar-brand-tagline {
    margin: 4px 0 0 0;
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
    letter-spacing: 0.3px;
}

/* User Section */
.sidebar-user-section {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.sidebar-user-section:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateY(-1px);
}

.sidebar-user-avatar {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.2) 0%, 
        rgba(255, 215, 0, 0.15) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #D4AF37;
    position: relative;
    flex-shrink: 0;
}

.sidebar-user-status {
    position: absolute;
    bottom: -2px;
    left: -2px;
    width: 12px;
    height: 12px;
    background: #28a745;
    border: 2px solid #0f1419;
    border-radius: 50%;
    box-shadow: 0 2px 4px rgba(40, 167, 69, 0.4);
}

.sidebar-user-info {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.sidebar-user-name {
    font-size: 13px;
    font-weight: 600;
    color: #ffffff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sidebar-user-role {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 400;
}

/* User Info Modal */
.user-info-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

.user-info-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
}

.user-info-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 24px;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.1);
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 10001;
    animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    scrollbar-width: thin;
    scrollbar-color: #667eea #f1f3f5;
}

.user-info-modal-content::-webkit-scrollbar {
    width: 8px;
}

.user-info-modal-content::-webkit-scrollbar-track {
    background: #f1f3f5;
    border-radius: 10px;
}

.user-info-modal-content::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

.user-info-modal-content::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

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

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

.user-info-modal-header {
    position: relative;
    padding: 32px 32px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 24px 24px 0 0;
    color: white;
    overflow: hidden;
}

.user-info-modal-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: float 20s ease-in-out infinite;
}

.user-info-header-content {
    display: flex;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}

.user-info-header-icon {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.user-info-header-text h3 {
    margin: 0 0 4px 0;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.user-info-header-text p {
    margin: 0;
    font-size: 14px;
    opacity: 0.9;
    font-weight: 400;
}

.user-info-modal-close {
    position: absolute;
    top: 24px;
    left: 24px;
    background: rgba(0, 0, 0, 0.2);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 18px;
    backdrop-filter: blur(10px);
    z-index: 2;
}

.user-info-modal-close:hover {
    background: rgba(0, 0, 0, 0.3);
    transform: rotate(90deg) scale(1.1);
}

.user-info-modal-body {
    padding: 32px;
    background: #f8f9fa;
}

.user-info-section {
    background: white;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.user-info-section:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.user-info-section:last-child {
    margin-bottom: 0;
}

.user-info-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #f1f3f5;
}

.section-header-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.user-info-section-header h4 {
    margin: 0;
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    letter-spacing: -0.3px;
}

.user-info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.user-info-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.user-info-item:hover {
    background: #f1f3f5;
    border-color: #667eea;
    transform: translateX(-4px);
}

.info-item-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.25);
}

.info-item-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.user-info-item label {
    font-size: 12px;
    font-weight: 600;
    color: #6c757d;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-info-item span {
    font-size: 16px;
    color: #1a1a1a;
    font-weight: 600;
}

.role-badge {
    display: inline-block;
    padding: 6px 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(102, 126, 234, 0.3);
}

.user-info-modal-body .form-group {
    margin-bottom: 24px;
}

.user-info-modal-body .form-group:last-of-type {
    margin-bottom: 0;
}

.user-info-modal-body .form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #1a1a1a;
}

.user-info-modal-body .form-group label i {
    color: #667eea;
    font-size: 16px;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.user-info-modal-body .form-control {
    width: 100%;
    padding: 14px 16px;
    padding-right: 48px;
    border: 2px solid #e9ecef;
    border-radius: 12px;
    font-size: 15px;
    transition: all 0.3s ease;
    box-sizing: border-box;
    background: #ffffff;
    color: #1a1a1a;
    font-weight: 500;
}

.user-info-modal-body .form-control::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.user-info-modal-body .form-control:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #ffffff;
}

.input-icon-toggle {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #6c757d;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
    z-index: 1;
}

.input-icon-toggle:hover {
    color: #667eea;
    transform: translateY(-50%) scale(1.1);
}

.password-change-message {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
    border: 2px solid transparent;
    animation: slideDown 0.3s ease;
}

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

.password-change-message.success {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    color: #065f46;
    border-color: #6ee7b7;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.password-change-message.success::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
}

.password-change-message.error {
    background: linear-gradient(135deg, #fee2e2 0%, #fecaca 100%);
    color: #991b1b;
    border-color: #fca5a5;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.2);
}

.password-change-message.error::before {
    content: '\f00d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 18px;
}

.user-info-modal-body .form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 24px;
    border-top: 2px solid #f1f3f5;
}

.user-info-modal-body .btn {
    padding: 14px 28px;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.2px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.user-info-modal-body .btn-secondary {
    background: #ffffff;
    color: #6c757d;
    border: 2px solid #e9ecef;
}

.user-info-modal-body .btn-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.user-info-modal-body .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
}

.user-info-modal-body .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.user-info-modal-body .btn-primary:active {
    transform: translateY(0);
}

.user-info-modal-body .btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .user-info-modal-content {
        width: 95%;
        max-height: 95vh;
        border-radius: 20px;
    }
    
    .user-info-modal-header {
        padding: 24px 20px 20px;
    }
    
    .user-info-header-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .user-info-header-icon {
        width: 56px;
        height: 56px;
        font-size: 24px;
    }
    
    .user-info-header-text h3 {
        font-size: 20px;
    }
    
    .user-info-header-text p {
        font-size: 13px;
    }
    
    .user-info-modal-close {
        top: 20px;
        left: 20px;
        width: 36px;
        height: 36px;
    }
    
    .user-info-modal-body {
        padding: 24px 20px;
    }
    
    .user-info-section {
        padding: 20px;
        border-radius: 12px;
    }
    
    .user-info-section-header {
        margin-bottom: 20px;
        padding-bottom: 12px;
    }
    
    .section-header-icon {
        width: 36px;
        height: 36px;
        font-size: 16px;
    }
    
    .user-info-section-header h4 {
        font-size: 16px;
    }
    
    .user-info-grid {
        gap: 12px;
    }
    
    .user-info-item {
        padding: 14px;
        gap: 12px;
    }
    
    .info-item-icon {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .user-info-item span {
        font-size: 15px;
    }
    
    .user-info-modal-body .form-group {
        margin-bottom: 20px;
    }
    
    .user-info-modal-body .form-control {
        padding: 12px 14px;
        padding-right: 44px;
        font-size: 14px;
    }
    
    .input-icon-toggle {
        left: 14px;
        font-size: 16px;
    }
    
    .user-info-modal-body .form-actions {
        flex-direction: column;
        gap: 10px;
        margin-top: 24px;
        padding-top: 20px;
    }
    
    .user-info-modal-body .btn {
        width: 100%;
        justify-content: center;
        padding: 13px 24px;
    }
}

/* Navigation Menu Luxury */
.nav-menu-luxury {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 16px 12px;
    position: relative;
    z-index: 3;
}

.nav-section {
    margin-bottom: 24px;
}

.nav-section:last-child {
    margin-bottom: 0;
}

.nav-section-header {
    padding: 8px 12px;
    margin-bottom: 8px;
}

.nav-section-label {
    font-size: 10px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
}

.nav-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.nav-menu-list li {
    margin: 0;
    position: relative;
}

.nav-menu-list a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 14px;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    border: 1px solid transparent;
    background: rgba(255, 255, 255, 0.02);
}

.nav-menu-list a::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(180deg, #D4AF37, rgba(255, 215, 0, 0.8));
    transform: scaleY(0);
    transform-origin: top;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 0 10px 10px 0;
}

.nav-menu-list a::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    transform: translateY(-50%);
    transition: width 0.4s ease, height 0.4s ease;
    border-radius: 50%;
}

.nav-menu-list a:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(212, 175, 55, 0.2);
    transform: translateX(-4px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-menu-list a:hover::before {
    transform: scaleY(1);
}

.nav-menu-list a:hover::after {
    width: 200px;
    height: 200px;
}

.nav-menu-list li.active a,
.nav-menu-list a.active {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.15) 0%, 
        rgba(255, 215, 0, 0.1) 100%);
    color: #D4AF37;
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 
        0 4px 12px rgba(212, 175, 55, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateX(-2px);
    font-weight: 600;
}

.nav-menu-list li.active a::before,
.nav-menu-list a.active::before {
    transform: scaleY(1);
}

/* Icon Wrapper */
.nav-icon-wrapper {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.nav-menu-list a:hover .nav-icon-wrapper {
    background: rgba(212, 175, 55, 0.15);
    border-color: rgba(212, 175, 55, 0.3);
    transform: scale(1.1);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.2);
}

.nav-menu-list li.active .nav-icon-wrapper,
.nav-menu-list a.active .nav-icon-wrapper {
    background: linear-gradient(135deg, 
        rgba(212, 175, 55, 0.3) 0%, 
        rgba(255, 215, 0, 0.2) 100%);
    border-color: rgba(212, 175, 55, 0.5);
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.3);
}

.nav-icon-wrapper i {
    font-size: 16px;
    color: inherit;
    transition: all 0.3s ease;
}

.nav-menu-list a:hover .nav-icon-wrapper i {
    transform: scale(1.1);
    filter: drop-shadow(0 2px 4px rgba(212, 175, 55, 0.4));
}

.nav-text {
    flex: 1;
    letter-spacing: 0.3px;
}

/* Premium Footer */
.sidebar-footer-luxury {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 3;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
}

.logout-btn-luxury {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: rgba(220, 53, 69, 0.1);
    border: 1px solid rgba(220, 53, 69, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.logout-btn-luxury::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(220, 53, 69, 0.2) 50%, 
        transparent 100%);
    transition: left 0.5s ease;
}

.logout-btn-luxury:hover {
    background: rgba(220, 53, 69, 0.15);
    border-color: rgba(220, 53, 69, 0.4);
    color: #ffffff;
    transform: translateX(-2px);
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.2);
}

.logout-btn-luxury:hover::before {
    left: 100%;
}

.logout-icon-wrapper {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.logout-btn-luxury:hover .logout-icon-wrapper {
    background: rgba(220, 53, 69, 0.3);
    transform: scale(1.1);
}

.logout-icon-wrapper i {
    font-size: 14px;
    color: #dc3545;
}

.logout-text {
    flex: 1;
    text-align: right;
}

/* Custom Scrollbar for Luxury Sidebar */
.sidebar-luxury::-webkit-scrollbar {
    width: 4px;
}

.sidebar-luxury::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 2px;
}

.sidebar-luxury::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, 
        rgba(212, 175, 55, 0.4) 0%, 
        rgba(212, 175, 55, 0.6) 100%);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.sidebar-luxury::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, 
        rgba(212, 175, 55, 0.6) 0%, 
        rgba(255, 215, 0, 0.6) 100%);
}

/* Update active state for sections */
.nav-menu-list li[data-section].active {
    position: relative;
}

/* Responsive - Hide luxury features on mobile */
@media (max-width: 768px) {
    .sidebar-luxury {
        background: linear-gradient(180deg, 
            var(--primary-black) 0%, 
            var(--dark-purple) 25%, 
            var(--primary-purple) 50%, 
            var(--primary-red) 75%, 
            var(--primary-black) 100%) !important;
    }
    
    .sidebar-header-luxury,
    .sidebar-footer-luxury {
        display: none;
    }
}
