/* AlThura Travel - Global Styles */

:root {
    --primary-color: #1a5f7a;
    --secondary-color: #57c5b6;
    --accent-color: #159895;
    --dark-color: #002b5b;
    --light-bg: #f8f9fa;
}

html, body {
    height: 100%;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.althura-app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

.main-content {
    flex: 1;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #002b5b 0%, #1a5f7a 50%, #159895 100%);
    padding: 60px 0;
    position: relative;
}

.hero-overlay {
    position: relative;
    z-index: 1;
}

.search-card {
    border-radius: 16px;
    border: none;
}

/* Flight Cards */
.flight-card {
    border-radius: 12px;
    transition: transform 0.2s, box-shadow 0.2s;
}

.flight-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.flight-line {
    height: 2px;
    background: linear-gradient(to right, #1a5f7a, #57c5b6);
    margin: 8px 0;
    position: relative;
}

.flight-line::after {
    content: '';
    position: absolute;
    right: 0;
    top: -4px;
    width: 10px;
    height: 10px;
    background: #57c5b6;
    border-radius: 50%;
}

/* Feature Cards */
.feature-card {
    border-radius: 12px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s;
}

.feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Progress Steps */
.progress-steps {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 12px;
}

.progress-steps .step {
    text-align: center;
    color: #6c757d;
    font-size: 0.85rem;
}

.progress-steps .step span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: #dee2e6;
    color: #6c757d;
    border-radius: 50%;
    margin-bottom: 5px;
    font-weight: bold;
}

.progress-steps .step.active span {
    background: #1a5f7a;
    color: white;
}

.progress-steps .step.active {
    color: #1a5f7a;
    font-weight: bold;
}

/* Payment Method */
.payment-method {
    border: 2px solid #dee2e6;
    transition: all 0.2s;
    cursor: pointer;
}

.payment-method:hover {
    border-color: #1a5f7a;
}

/* Admin Layout */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    min-height: 100vh;
    position: fixed;
    right: 0;
    top: 0;
    z-index: 1000;
    padding-top: 10px;
}

.sidebar .nav-link {
    padding: 12px 20px;
    border-radius: 0;
    transition: background 0.2s;
}

.sidebar .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-content {
    flex: 1;
    margin-right: 260px;
    background: #f5f6fa;
    min-height: 100vh;
}

/* Ticket Print */
.ticket-print {
    background: white;
    max-width: 800px;
    margin: 0 auto;
}

@@media print {
    .no-print { display: none !important; }
    .ticket-print { border: none !important; }
    .sidebar, .navbar, .footer { display: none !important; }
    .admin-content { margin-right: 0 !important; }
}

/* Form Controls RTL */
.form-select, .form-control {
    text-align: right;
}

input[type="email"] {
    direction: ltr;
    text-align: left;
}

.font-monospace {
    font-family: 'Courier New', monospace;
}

/* Responsive */
@@media (max-width: 768px) {
    .sidebar {
        width: 100%;
        position: relative;
        min-height: auto;
    }
    .admin-content {
        margin-right: 0;
    }
    .admin-layout {
        flex-direction: column;
    }
    .hero-section {
        padding: 30px 0;
    }
}

/* Badges */
.badge {
    font-weight: 500;
}

/* Tables */
.table th {
    font-weight: 600;
    white-space: nowrap;
}

/* Buttons */
.btn {
    border-radius: 8px;
    font-weight: 500;
}

.btn-lg {
    border-radius: 10px;
}

/* Cards */
.card {
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.card-header {
    border-radius: 12px 12px 0 0 !important;
    font-weight: 600;
}
