/* MediaMantra - Custom Styles */

/* Loading Screen */
.loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: all 0.6s ease-in-out;
}

.loader-overlay.fade-out {
    opacity: 0;
    visibility: hidden;
}

.loader-content {
    text-align: center;
    color: white;
}

.loader-spinner {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
}

.spinner-ring {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 3px solid transparent;
    border-top: 3px solid #6366f1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.spinner-ring:nth-child(2) {
    width: 90%;
    height: 90%;
    top: 5%;
    left: 5%;
    border-top-color: #06b6d4;
    animation-delay: -0.3s;
}

.spinner-ring:nth-child(3) {
    width: 80%;
    height: 80%;
    top: 10%;
    left: 10%;
    border-top-color: #f59e0b;
    animation-delay: -0.6s;
}

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

.loader-text h4 {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #6366f1 0%, #06b6d4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.loader-text p {
    font-family: 'Inter', sans-serif;
    font-size: 0.9rem;
    color: #9ca3af;
    margin: 0;
}

:root {
    --primary-color: #6366f1;
    --primary-dark: #4f46e5;
    --secondary-color: #f59e0b;
    --accent-color: #06b6d4;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --bg-light: #f8fafc;
    --border-light: #e5e7eb;
    --shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    --gradient: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

.container, .container-fluid {
    max-width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    font-weight: 400;
    letter-spacing: -0.01em;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.navbar-brand {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.01em;
}

.hero h1 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 700;
    letter-spacing: -0.03em;
}

.section-title h2 {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-weight: 600;
    letter-spacing: -0.02em;
}

.btn {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.form-label {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

.nav-link {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    letter-spacing: -0.01em;
}

img {
    max-width: 100%;
    height: auto;
}

/* Removed custom scrollbar to prevent additional scrollbars */

/* Navigation */
.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    z-index: 1030;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95) !important;
}

.navbar-logo {
    height: 35px;
    width: auto;
}

/* Fix all dropdown z-index issues */
.dropdown-menu {
    z-index: 9999 !important;
}

.dropdown {
    position: relative;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    margin: 0 0.5rem;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

.nav-link.btn {
    border-radius: 50px;
    padding: 0.5rem 1.5rem !important;
    margin-left: 1rem;
    background: var(--gradient) !important;
    border: none;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.nav-link.btn:hover {
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero {
    background: var(--gradient);
    min-height: 100vh;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.hero .container {
    height: 100%;
    display: flex;
    align-items: center;
}

/* Mobile hero padding adjustment */
@media (max-width: 768px) {
    .hero {
        padding: 100px 0 60px;
    }
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><polygon fill="%23ffffff10" points="0,1000 1000,0 1000,1000"/></svg>');
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    color: white;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.hero-image {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.hero-image-wrapper {
    position: relative;
    padding: 20px;
    background: linear-gradient(145deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    border-radius: 30px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 25px 50px rgba(0,0,0,0.2);
    animation: heroFloat 6s ease-in-out infinite;
    transform-style: preserve-3d;
}

/* Mobile and Tablet: Simple image only */
@media (max-width: 1024px) {
    .hero-image-wrapper {
        padding: 0;
        background: none;
        border-radius: 20px;
        backdrop-filter: none;
        border: none;
        box-shadow: none;
        animation: none;
        transform: none;
    }
    
    .hero-photo {
        box-shadow: 0 10px 25px rgba(0,0,0,0.2);
    }
}

.hero-photo {
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    max-height: 60vh;
    width: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover .hero-photo {
    transform: scale(1.02);
}

/* Disable hover effect on mobile */
@media (max-width: 1024px) {
    .hero-image-wrapper:hover .hero-photo {
        transform: none;
    }
}

@keyframes heroFloat {
    0%, 100% {
        transform: translateY(0px) rotateX(0deg);
    }
    25% {
        transform: translateY(-10px) rotateX(1deg);
    }
    50% {
        transform: translateY(-15px) rotateX(0deg);
    }
    75% {
        transform: translateY(-5px) rotateX(-1deg);
    }
}

.hero-image img {
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    max-height: 60vh;
    width: auto;
    object-fit: cover;
}

/* Mobile hero image spacing */
@media (max-width: 768px) {
    .hero-image {
        margin-top: 3rem;
    }
}

/* Buttons */
.btn-primary {
    background: var(--gradient);
    border: none;
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}

.btn-primary:hover {
    box-shadow: var(--shadow-lg);
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--accent-color) 100%);
}

.btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-light:hover {
    background: white;
    color: var(--primary-color);
}

/* Sections */
.section {
    padding: 80px 0;
    width: 100%;
}

/* Add padding for all content */
.container {
    padding-left: 2rem;
    padding-right: 2rem;
}

/* Mobile section padding adjustment */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    
    /* Ensure first section after hero has enough space */
    .hero + .section {
        padding-top: 80px;
    }
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient);
    border-radius: 2px;
}

.section-title p {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Service Cards */
.service-card {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-light);
    height: 100%;
}

.service-card:hover {
    box-shadow: var(--shadow-lg);
}

.service-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: white;
    font-size: 2rem;
}

.service-card h4 {
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
}

/* About Section */
.about-content {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius-lg);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all var(--transition-smooth);
}

.stat-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary-color);
}

.stat-number {
    display: block;
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1.1rem;
    color: #ffffff;
    opacity: 0.9;
    line-height: 1.4;
    word-spacing: 0.2rem;
    letter-spacing: 0.5px;
}

/* Portfolio Styles */
.portfolio-item {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.portfolio-item:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.portfolio-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.portfolio-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(99, 102, 241, 0.9), rgba(6, 182, 212, 0.9));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
    text-align: center;
    padding: 20px;
}

.portfolio-item:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay i {
    color: white;
    font-size: 2rem;
    margin-top: 10px;
}

.portfolio-info h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.portfolio-info p {
    font-size: 0.9rem;
    opacity: 0.9;
    margin: 0;
}

.portfolio-item:hover img {
    transform: scale(1.1);
}

/* Video Portfolio Specific Styles */
.portfolio-video-thumbnail {
    position: relative;
    overflow: hidden;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.portfolio-video-thumbnail img {
    transition: transform 0.3s ease;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.portfolio-video-thumbnail:hover img {
    transform: scale(1.05);
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    border: 3px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(99, 102, 241, 0.3);
}

.play-button:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--accent-color));
    transform: translate(-50%, -50%) scale(1.15);
    box-shadow: 0 12px 40px rgba(99, 102, 241, 0.4);
}

.play-button i {
    margin-left: 3px; /* Adjust for visual centering */
}

.video-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    color: white;
    padding: 40px 20px 20px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.portfolio-video-thumbnail:hover .video-overlay {
    transform: translateY(0);
}

.video-info h5 {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.video-info p {
    font-size: 0.9rem;
    opacity: 0.8;
    margin: 0;
}

/* Video Modal Styles */
#videoModal .modal-content {
    border: none;
    border-radius: 20px;
    overflow: hidden;
    background: #1a1a1a;
}

#videoModal .modal-body {
    position: relative;
    padding: 0;
}

#videoModal video {
    border-radius: 20px;
    background: #000;
}

#videoModal .btn-close {
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    position: absolute;
    opacity: 1;
    transition: all 0.3s ease;
}

#videoModal .btn-close:hover {
    background: rgba(0, 0, 0, 0.9);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

#videoModal .btn-close span {
    color: white;
    font-size: 22px;
    font-weight: 300;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/* Contact Section */
.contact-form {
    background: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-info {
    background: var(--gradient);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

.contact-item {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.2rem;
}

/* Form Elements */
.form-control {
    border: 2px solid var(--border-light);
    border-radius: 10px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
    background: var(--bg-light);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(99, 102, 241, 0.25);
    background: white;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: var(--text-dark) !important;
}

.footer-logo {
    height: 40px;
    width: auto;
}

.social-links a {
    transition: all 0.3s ease;
}

.social-links a:hover {
    color: var(--primary-color) !important;
}

/* Reservation Page */
.reservation-container {
    padding-top: 80px;
    min-height: 100vh;
    background: var(--bg-light);
}

/* Mobile reservation padding adjustment */
@media (max-width: 768px) {
    .reservation-container {
        padding-top: 100px;
    }
}

.reservation-form {
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: var(--shadow);
    max-width: 800px;
    margin: 0 auto;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
}

/* Alert Messages */
.alert {
    border: none;
    border-radius: 10px;
    padding: 1rem 1.5rem;
    font-weight: 500;
}

.alert-success {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.alert-danger {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 100vh;
    }
    
    .section {
        padding: 60px 0;
    }
    
    /* Ensure first section after hero has enough space */
    .hero + .section {
        padding-top: 80px;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .navbar-logo {
        height: 30px;
    }
    
    .contact-form,
    .contact-info {
        padding: 2rem;
        margin-bottom: 2rem;
    }
    
    .reservation-form {
        padding: 2rem;
        margin: 1rem;
    }
    
    .reservation-container {
        padding-top: 100px;
    }
    
    /* Prevent horizontal overflow on mobile */
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: 100%;
        margin: 0;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 100px 0 60px;
        min-height: 100vh;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .stats-number {
        font-size: 2.5rem;
    }
    
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .reservation-container {
        padding-top: 100px;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Removed floating animation to prevent movement */
/* .floating {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
} */

/* Gradient Text */
.gradient-text {
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    font-weight: 700;
}

/* Admin Panel Styles */
.admin-container {
    min-height: 100vh;
    background: var(--bg-light);
}

/* Admin navbar logo sizing */
.navbar-dark .navbar-brand img {
    height: 25px;
    width: auto;
    max-height: 25px;
}

/* Admin login logo sizing */
.admin-login-logo {
    height: 40px;
    width: auto;
    max-height: 40px;
}

/* Fix admin dropdown z-index */
.navbar-dark .dropdown-menu {
    z-index: 9999;
    position: absolute;
}

.navbar-dark .dropdown {
    position: relative;
    z-index: 1000;
}

/* Ensure dropdown appears above other content */
.dropdown-menu.show {
    z-index: 9999 !important;
}

.admin-sidebar {
    background: var(--text-dark);
    min-height: 100vh;
    padding: 2rem 0;
}

.admin-content {
    padding: 2rem;
}

/* Custom Date Picker Styling */
.custom-date-picker {
    position: relative;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    color: #374151;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
    padding-right: 45px;
    cursor: pointer;
    z-index: 1;
}

.custom-date-picker:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1), 0 4px 12px rgba(0, 0, 0, 0.15);
    background: #ffffff;
    transform: translateY(-1px);
    z-index: 2;
}

.custom-date-picker:hover {
    border-color: #9ca3af;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Form section z-index management */
.form-section {
    position: relative;
    z-index: 1;
}

.reservation-form {
    position: relative;
    z-index: 1;
}

/* Flatpickr Custom Styling */
.flatpickr-calendar {
    background: #ffffff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    font-family: 'Poppins', sans-serif;
    z-index: 9999;
    
}

.flatpickr-calendar::before,
.flatpickr-calendar::after {
    display: none;
}

.flatpickr-month {
    background: #6366f1;
    color: white;
    border-radius: 16px 16px 0 0;
    padding: 12px 0;
    position: relative;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
}

.flatpickr-current-month {
    color: white;
    font-weight: 600;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* Simple Month/Year Styling - Let Flatpickr handle functionality */
.flatpickr-current-month .flatpickr-monthDropdown-months {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 8px;
    margin: 0 4px;
    cursor: pointer;
}

.flatpickr-current-month .flatpickr-monthDropdown-months:hover {
    background: rgba(255, 255, 255, 1);
}

.flatpickr-current-month input.cur-year {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 6px;
    color: #374151;
    font-weight: 600;
    font-size: 14px;
    padding: 4px 6px;
    text-align: center;
    width: 60px;
}

.flatpickr-current-month input.cur-year:hover {
    background: rgba(255, 255, 255, 1);
}

/* Navigation Arrows */
.flatpickr-prev-month,
.flatpickr-next-month {
    color: white !important;
    fill: white !important;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
    cursor: pointer;
    position: relative;
    z-index: 10001;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.flatpickr-prev-month svg,
.flatpickr-next-month svg {
    fill: white !important;
    width: 14px;
    height: 14px;
}

.flatpickr-weekdays {
    background: #f8fafc;
    color: #6b7280;
    font-weight: 600;
    padding: 12px 0;
    z-index: 9998;
    position: relative;
}

.flatpickr-weekday {
    color: #6b7280;
    font-weight: 600;
    font-size: 12px;
    padding: 8px;
}

.flatpickr-days {
    z-index: 9997;
    position: relative;
}

.flatpickr-day {
    border-radius: 8px;
    margin: 2px;
    font-weight: 500;
    color: #374151;
    font-size: 14px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    transition: all 0.2s ease;
}

.flatpickr-day:hover:not(.flatpickr-disabled):not(.selected) {
    background: #eff6ff;
    color: #6366f1;
    transform: scale(1.05);
}

.flatpickr-day.selected {
    background: #6366f1;
    color: white;
    box-shadow: 0 4px 8px rgba(99, 102, 241, 0.3);
    font-weight: 600;
}

.flatpickr-day.today:not(.selected) {
    background: #fef3c7;
    color: #92400e;
    font-weight: 600;
}

.flatpickr-day.flatpickr-disabled {
    color: #d1d5db;
    cursor: not-allowed;
}

.flatpickr-day.flatpickr-disabled:hover {
    background: none;
    transform: none;
}

.flatpickr-prev-month,
.flatpickr-next-month {
    color: white;
    padding: 8px;
    border-radius: 6px;
    transition: background-color 0.2s ease;
}

.flatpickr-prev-month:hover,
.flatpickr-next-month:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Custom styling for disabled dates (Sundays) */
.flatpickr-day.flatpickr-disabled.sunday {
    background: #fee2e2;
    color: #dc2626;
}

/* Animation for calendar opening */
.flatpickr-calendar.open {
    animation: fadeInScale 0.3s ease-out;
}

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

.admin-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
}

.admin-stats {
    background: var(--gradient);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
}

.table {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

.table-responsive {
    border-radius: 15px;
    border: none;
}

.table th {
    background: var(--bg-light);
    border: none;
    font-weight: 600;
    padding: 1rem;
}

.table td {
    border: none;
    padding: 1rem;
    vertical-align: middle;
}

.status-badge {
    padding: 0.375rem 0.75rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
}

.status-beklemede {
    background: #fef3c7;
    color: #92400e;
}

.status-onaylandı {
    background: #dcfce7;
    color: #166534;
}

.status-iptal_edildi {
    background: #fee2e2;
    color: #991b1b;
}