/**
 * Düğün Salonu Rezervasyon Sistemi - Özel CSS Dosyası
 */

 :root {
    --primary-color: #8b5cf6;
    --primary-hover: #7c3aed;
    --secondary-color: #ec4899;
}

/* Admin Panel Özel Stilleri */
.sidebar {
    position: fixed;
    top: 0;
    left: 0;
    width: 250px;
    height: 100vh;
    background-color: #343a40;
    color: #fff;
    z-index: 1000;
    transition: all 0.3s;
}

.sidebar-header {
    background-color: var(--primary-color);
    padding: 20px;
    text-align: center;
}

.sidebar-header h3 {
    margin: 0;
    font-size: 1.5rem;
}

.sidebar-menu {
    padding: 0;
    list-style: none;
    margin-top: 20px;
}

.sidebar-menu li {
    padding: 0;
    position: relative;
}

.sidebar-menu li a {
    padding: 15px 20px;
    display: block;
    color: #ced4da;
    text-decoration: none;
    transition: all 0.3s;
    border-left: 3px solid transparent;
}

.sidebar-menu li a:hover {
    background-color: #2c3136;
    color: #fff;
    border-left: 3px solid var(--primary-color);
}

.sidebar-menu li.active a {
    background-color: #2c3136;
    color: #fff;
    border-left: 3px solid var(--primary-color);
}

.main-content {
    margin-left: 250px;
    transition: all 0.3s;
    padding: 20px;
    min-height: 100vh;
}

.top-navbar {
    background-color: #fff;
    border-bottom: 1px solid #dee2e6;
    padding: 10px 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Müşteri Panel Özel Stilleri */
.navbar-custom {
    background-color: var(--primary-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.navbar-custom .navbar-brand,
.navbar-custom .nav-link {
    color: white;
}

.navbar-custom .nav-link:hover {
    color: rgba(255, 255, 255, 0.85);
}

.navbar-custom .nav-link.active {
    font-weight: bold;
    border-bottom: 2px solid white;
}

.page-header {
    background-color: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 20px 0;
    margin-bottom: 30px;
}

/* Ortak Stil Tanımlamaları */
.card {
    border: none;
    border-radius: 10px;
    box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    margin-bottom: 20px;
}

.card-header {
    background-color: #fff;
    border-bottom: 1px solid #f0f0f0;
    padding: 15px 20px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover, .btn-primary:focus {
    background-color: var(--primary-hover);
    border-color: var(--primary-hover);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

/* Dashboard ve İstatistik Kartları */
.stat-card {
    border-radius: 10px;
    box-shadow: 0 0.25rem 0.5rem rgba(0, 0, 0, 0.05);
    transition: transform 0.3s;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-card .card-body {
    padding: 1.5rem;
}

.stat-card .icon {
    font-size: 2rem;
    opacity: 0.8;
}

.stat-card .stat-value {
    font-size: 1.75rem;
    font-weight: 600;
}

.stat-card .stat-title {
    color: #6c757d;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.bg-gradient-primary {
    background: linear-gradient(45deg, #7e22ce, #8b5cf6);
    color: white;
}

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

.bg-gradient-warning {
    background: linear-gradient(45deg, #d97706, #fbbf24);
    color: white;
}

.bg-gradient-info {
    background: linear-gradient(45deg, #0284c7, #38bdf8);
    color: white;
}

/* Takvim Stilleri */
.calendar-day {
    height: 140px;
    overflow-y: auto;
    position: relative;
    padding: 8px;
}

.event-item {
    margin-bottom: 5px;
    font-size: 0.8rem;
}

.today {
    background-color: rgba(139, 92, 246, 0.1);
}

/* Geri Sayım Stilleri */
.countdown {
    margin-top: 20px;
    text-align: center;
}

.countdown-item {
    display: inline-block;
    margin: 0 10px;
    text-align: center;
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    background-color: #f8f9fa;
    border-radius: 8px;
    padding: 10px 15px;
    display: block;
    min-width: 70px;
}

.countdown-label {
    font-size: 0.9rem;
    color: #6c757d;
    margin-top: 5px;
}

/* Mobil Uyumluluk */
@media (max-width: 991.98px) {
    .sidebar {
        left: -250px;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .sidebar.show {
        left: 0;
    }
    
    .main-content.shifted {
        margin-left: 250px;
    }
}

/* Badge Stilleri */
.badge-onay-bekliyor {
    background-color: #f59e0b;
    color: white;
}

.badge-onaylandi {
    background-color: #10b981;
    color: white;
}

.badge-iptal-edildi {
    background-color: #ef4444;
    color: white;
}

.badge-tamamlandi {
    background-color: #6366f1;
    color: white;
}

.badge-beklemede {
    background-color: #f59e0b;
    color: white;
}

.badge-reddedildi {
    background-color: #ef4444;
    color: white;
}