/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: #333;
}

/* Banner Styles */
.banner {
    position: relative;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

.banner-content {
    border-radius: 8px;
}

/* Card Styles */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.card-img-top {
    height: 180px;
    object-fit: cover;
}

/* Button Styles */
.btn-primary {
    background-color: #c41e3a;
    border-color: #c41e3a;
}

.btn-primary:hover {
    background-color: #a01a30;
    border-color: #a01a30;
}

.btn-outline-light:hover {
    background-color: #c41e3a;
    border-color: #c41e3a;
}

/* Navbar Styles */
.navbar-dark.bg-dark {
    background: linear-gradient(90deg, #c41e3a 0%, #a01a30 100%) !important;
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
    color: rgba(255, 255, 255, 0.9);
}

.navbar-dark .nav-link:hover {
    color: #ffffff;
}

.navbar-dark .nav-link.active {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

/* Form Styles */
.form-control:focus, .form-select:focus {
    border-color: #c41e3a;
    box-shadow: 0 0 0 0.25rem rgba(196, 30, 58, 0.25);
}

/* Feature Icon Styles */
.feature-icon {
    color: #c41e3a;
}

/* Footer Styles */
footer {
    background-color: #000000 !important;
}

footer a {
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #c41e3a !important;
}

/* Search Filters */
.search-filters {
    background-color: #f2f2f2;
    border-radius: 8px;
    border-left: 4px solid #c41e3a;
}

/* Price Badge */
.badge.bg-primary {
    background-color: #c41e3a !important;
}

/* Dashboard Card Colors */
.bg-primary {
    background-color: #c41e3a !important;
}

.dashboard-card.bg-success {
    background-color: #333333 !important;
}

.dashboard-card.bg-info {
    background-color: #666666 !important;
}

.dashboard-card.bg-warning {
    background-color: #999999 !important;
    color: white !important;
}

.dashboard-card.bg-warning .text-dark {
    color: white !important;
}

/* Stats Card Styles */
.stats-card {
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
    border-left: 4px solid;
}

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

.stats-card.ksa {
    border-left-color: #c41e3a; /* Red color for KSA to match UAE */
}

.stats-card.uae {
    border-left-color: #c41e3a; /* Red color for UAE */
}

.stats-card.umrah {
    border-left-color: #1e90ff; /* Blue color for Umrah */
}

.stats-card.tours {
    border-left-color: #ffa500; /* Orange color for Tours */
}

.stats-card.active {
    border-left-color: #28a745; /* Success green */
}

.stats-card.sold {
    border-left-color: #007bff; /* Primary blue */
}

.stats-card.hold {
    border-left-color: #ffc107; /* Warning yellow */
}

.stats-card.expired {
    border-left-color: #dc3545; /* Danger red */
}

/* Ticket Table Styles */
.ticket-table {
    margin-bottom: 0;
}

.ticket-table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #c41e3a;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
    padding: 1rem;
}

.ticket-table tbody tr {
    transition: all 0.2s ease;
}

.ticket-table tbody tr:hover {
    background-color: rgba(196, 30, 58, 0.05);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: relative;
}

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

.ticket-table .badge {
    font-size: 0.8rem;
    padding: 0.35rem 0.65rem;
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .banner {
        height: 600px !important;
    }
    
    .banner-content {
        padding: 2rem !important;
    }
    
    .banner-form-container {
        margin-top: 2rem;
    }
    
    .navbar-toggler {
        border-color: rgba(255, 255, 255, 0.5);
    }
    
    .navbar-toggler-icon {
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 0.85)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }
    
    .navbar-collapse {
        background-color: var(--primary-color);
        padding: 1rem;
        border-radius: 0 0 8px 8px;
        margin-top: 0.5rem;
    }
}

@media (max-width: 768px) {
    .banner {
        height: 500px !important;
    }
    
    .banner-content {
        padding: 1.5rem !important;
    }
    
    .banner-content h1 {
        font-size: 2.25rem;
    }
    
    .banner-features-strip {
        padding: 0.75rem 0;
    }
    
    .navbar-brand {
        font-size: 1.5rem;
    }
    
    .btn {
        padding: 0.375rem 0.75rem;
    }
    
    #fleet-showcase img {
        height: 400px !important;
    }
}

@media (max-width: 576px) {
    .banner {
        height: 450px !important;
    }
    
    .banner-content h1 {
        font-size: 1.75rem;
    }
    
    .banner-content .lead {
        font-size: 1rem;
    }
    
    .banner-cta .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .banner-cta {
        flex-direction: column;
    }
    
    .banner-features-strip {
        padding: 0.5rem 0;
    }
    
    .banner-features-strip .small {
        font-size: 0.7rem;
    }
    
    #fleet-showcase img {
        height: 250px !important;
    }
    
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .feature-icon {
        margin-bottom: 1rem;
    }
    
    .modal-dialog {
        margin: 0.5rem;
    }
} 

/* ================ VENDOR DASHBOARD STYLES ================ */

/* Enhanced Sidebar Styles */
.sidebar {
    background: linear-gradient(135deg, #343a40 0%, #121416 100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    z-index: 1000;
}

.sidebar-sticky {
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

.sidebar-sticky::-webkit-scrollbar {
    width: 6px;
}

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

.sidebar-sticky::-webkit-scrollbar-thumb {
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar .nav-link {
    position: relative;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.7);
    padding: 0.8rem 1.2rem;
    margin: 0.3rem 0.6rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.sidebar .nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: all 0.5s ease;
}

.sidebar .nav-link:hover::before {
    left: 100%;
}

.sidebar .nav-link:hover {
    color: #fff;
    background: rgba(196, 30, 58, 0.2);
    transform: translateX(5px);
}

.sidebar .nav-link.active {
    color: #fff;
    background: linear-gradient(90deg, #c41e3a 0%, #a01a30 100%);
    box-shadow: 0 4px 10px rgba(196, 30, 58, 0.3);
}

.sidebar .nav-link i {
    margin-right: 0.8rem;
    width: 20px;
    text-align: center;
    transition: transform 0.3s ease;
}

.sidebar .nav-link:hover i {
    transform: scale(1.2);
}

.sidebar-header {
    padding: 1.5rem;
    text-align: center;
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-header h5 {
    color: white;
    font-weight: 600;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animated collapse for submenus */
.sidebar .collapse {
    transition: all 0.3s ease-out;
}

.sidebar .collapse.show {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 6px;
    margin: 0 0.8rem;
}

/* Enhanced Dashboard Cards */
.dashboard-card {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: none;
    position: relative;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.dashboard-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

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

.card-icon {
    font-size: 3rem;
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
}

.dashboard-card:hover .card-icon {
    transform: scale(1.2) rotate(10deg);
}

.dashboard-card .card-body {
    padding: 1.8rem;
    z-index: 1;
    position: relative;
}

.dashboard-card .card-title {
    font-weight: 700;
    margin-bottom: 0.7rem;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.dashboard-card:hover .card-title {
    transform: scale(1.05);
}

.dashboard-card .card-text {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0;
    transition: all 0.3s ease;
}

.dashboard-card:hover .card-text {
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* Main content area */
.main-content {
    transition: all 0.3s ease;
    animation: fadeIn 0.5s ease-out;
}

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

/* Table styles */
.table-responsive {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table thead th {
    background-color: #f8f9fa;
    border-bottom: 2px solid #c41e3a;
    color: #495057;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.table tbody tr {
    transition: all 0.2s ease;
}

.table tbody tr:hover {
    background-color: rgba(196, 30, 58, 0.05);
    transform: scale(1.01);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    z-index: 1;
    position: relative;
}

/* Action buttons */
.btn-action {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 3px;
    transition: all 0.3s ease;
    background: #f8f9fa;
    color: #495057;
    border: none;
}

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

.btn-action.edit:hover {
    background: #ffc107;
    color: #212529;
}

.btn-action.delete:hover {
    background: #dc3545;
    color: #fff;
}

.btn-action.view:hover {
    background: #17a2b8;
    color: #fff;
}

/* Status badges */
.badge {
    padding: 0.5rem 0.75rem;
    font-weight: 500;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.1);
}

/* Toggle sidebar button */
.sidebar-toggle {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #c41e3a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(196, 30, 58, 0.5);
    z-index: 1100;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 15px rgba(196, 30, 58, 0.6);
}

/* Collapsed sidebar state */
.sidebar-collapsed {
    width: 70px !important;
}

.sidebar-collapsed .nav-link span, 
.sidebar-collapsed .sidebar-header h5 {
    display: none;
}

.sidebar-collapsed .nav-link {
    text-align: center;
    padding: 0.8rem 0;
}

.sidebar-collapsed .nav-link i {
    margin-right: 0;
    font-size: 1.2rem;
}

.main-content-expanded {
    margin-left: 70px !important;
} 