/* 
 * DVBooking Modern Clean UI
 * Fotoğraftaki tasarıma birebir uygun
 */

/* ========================================
   CLEAN VARIABLES
   ======================================== */
   :root {
    /* Simple Colors */
    --primary: #3aa6b9;
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Text Colors */
    --text-dark: #1f2937;
    --text-gray: #6b7280;
    --text-light: #9ca3af;
    
    /* Background */
    --bg-page: #f9fafb;
    --bg-white: #ffffff;
    --bg-gray: #f3f4f6;
    
    /* Border */
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    
    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.1);
    
    /* Radius */
    --radius: 12px;
    --radius-lg: 16px;
    --radius-full: 9999px;
}

/* ========================================
   PAGE LAYOUT
   ======================================== */
.modern-page {
    background: var(--bg-page) !important;
    min-height: 100vh;
}

.modern-page .container-fluid {
    /* max-width kaldırıldı - tam genişlik kullanılacak */
    /* max-width: 1400px; */
    margin: 0 auto;
    padding: 2rem 1.5rem !important;
}

/* ========================================
   PROGRESS STEPS (Fotoğraftaki gibi)
   ======================================== */
#progressbar {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
    list-style: none;
}

#progressbar::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 0;
}

#progressbar div,
#progressbar li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    flex: 1;
    text-align: center;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
}

#progressbar div span,
#progressbar li span {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-gray);
}

#progressbar div.active span,
#progressbar li.active span {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

#progressbar div.active,
#progressbar li.active {
    color: var(--primary);
}

.modern-progress {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 2rem 0;
    margin: 2rem 0;
}

.modern-progress::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--border);
    transform: translateY(-50%);
    z-index: 0;
}

.modern-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
    flex: 1;
}

.modern-step-circle {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    background: var(--bg-white);
    border: 3px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--text-gray);
}

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

.modern-step.active .modern-step-circle {
    background: var(--primary);
    border-color: var(--primary);
    color: white;
}

.modern-step-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    text-align: center;
}

.modern-step.active .modern-step-label {
    color: var(--primary);
}

/* ========================================
   CARD (Fotoğraftaki gibi temiz)
   ======================================== */
.modern-card {
    background: var(--bg-white) !important;
    border-radius: var(--radius-lg) !important;
    border: 1px solid var(--border) !important;
    box-shadow: var(--shadow-md) !important;
    padding: 2.5rem !important;
    margin-bottom: 1.5rem;
    width: 100%;
}

.modern-card-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding-bottom: 1.5rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.modern-card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin: 0;
}

.modern-card-title i {
    color: var(--primary);
}

/* ========================================
   FORM ELEMENTS (Fotoğraftaki gibi)
   ======================================== */
.modern-form-group {
    margin-bottom: 1.5rem;
}

.modern-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.modern-label i {
    color: var(--text-light);
}

/* CLEAN INPUT STYLE - NO ANIMATIONS */
.modern-page .form-control,
.modern-page input.form-control,
.modern-page select.form-control,
.modern-page textarea.form-control,
.modern-page .modern-form-group .form-control,
.modern-page .modern-form-group input.form-control,
.modern-page .modern-form-group select.form-control {
    height: 56px !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: var(--text-dark) !important;
    background: var(--bg-white) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
}

.modern-page .form-control:focus,
.modern-page input.form-control:focus,
.modern-page select.form-control:focus,
.modern-page .modern-form-group .form-control:focus,
.modern-page .modern-form-group input.form-control:focus,
.modern-page .modern-form-group select.form-control:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(58, 166, 185, 0.1) !important;
    outline: none !important;
    transform: none !important;
}

/* Input Groups */
.modern-page .input-group-text {
    height: 56px !important;
    padding: 0.875rem 1rem !important;
    background: var(--bg-gray) !important;
    border: 1px solid var(--border) !important;
    border-right: none !important;
    border-radius: var(--radius) 0 0 var(--radius) !important;
    color: var(--text-light) !important;
}

.modern-page .input-group .form-control {
    border-left: none !important;
    border-radius: 0 var(--radius) var(--radius) 0 !important;
}

/* Bootstrap Select - CLEAN STYLE */
.modern-page .bootstrap-select,
.modern-page .bootstrap-select.form-control {
    border: none !important;
    background: transparent !important;
    padding: 0 !important;
    height: auto !important;
}

.modern-page .bootstrap-select > .dropdown-toggle,
.modern-page .bootstrap-select > .dropdown-toggle.btn,
.modern-page .bootstrap-select > .dropdown-toggle.btn-light {
    height: 56px !important;
    padding: 0.875rem 2.5rem 0.875rem 1rem !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: var(--text-dark) !important;
    background: var(--bg-white) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    text-align: left !important;
    transform: none !important;
}

.modern-page .bootstrap-select > .dropdown-toggle:hover,
.modern-page .bootstrap-select > .dropdown-toggle:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(58, 166, 185, 0.1) !important;
    background: var(--bg-white) !important;
    transform: none !important;
}

.modern-page .bootstrap-select .dropdown-menu {
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-lg) !important;
    padding: 0.5rem !important;
    margin-top: 0.5rem !important;
    background: var(--bg-white) !important;
}

.modern-page .bootstrap-select .dropdown-menu li a {
    padding: 0.625rem 1rem !important;
    border-radius: 8px !important;
    font-size: 0.9375rem !important;
    transition: background-color 0.15s ease !important;
    transform: none !important;
}

.modern-page .bootstrap-select .dropdown-menu li a:hover {
    background: var(--bg-gray) !important;
    transform: none !important;
}

.modern-page .bootstrap-select .dropdown-menu li.selected a {
    background: rgba(58, 166, 185, 0.1) !important;
    color: var(--primary) !important;
    font-weight: 600 !important;
}

/* ========================================
   BUTTONS (Fotoğraftaki gibi temiz)
   ======================================== */
.modern-page .btn,
.modern-page button.btn {
    height: 56px !important;
    padding: 0 2rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius) !important;
    border: none !important;
    transition: all 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    transform: none !important;
}

.modern-page .btn:hover,
.modern-page button.btn:hover {
    transform: none !important;
    opacity: 0.9;
}

.modern-page .btn-primary,
.modern-page .btn.btn-primary {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(58, 166, 185, 0.25) !important;
}

.modern-page .btn-success {
    background: var(--success) !important;
    color: white !important;
}

/* ========================================
   ROUTE DISPLAY
   ======================================== */
.route-display {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.route-locations {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-light);
}

.route-location {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex: 1;
}

.route-location-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius-full);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.125rem;
    color: white;
    flex-shrink: 0;
}

.route-location-icon.start {
    background: var(--primary);
}

.route-location-icon.end {
    background: #ec4899;
}

.route-location-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.route-arrow {
    color: var(--text-light);
    font-size: 1.5rem;
    flex-shrink: 0;
}

.route-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.route-detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--bg-gray);
    border-radius: var(--radius);
}

.route-detail-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.route-detail-content {
    flex: 1;
}

.route-detail-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-gray);
    text-transform: uppercase;
    margin-bottom: 0.25rem;
}

.route-detail-value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-dark);
}

/* ========================================
   VEHICLE CARD
   ======================================== */
.vehicle-card {
    background: var(--bg-white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    box-shadow: var(--shadow-md);
    overflow: hidden;
    position: relative;
}

.vehicle-image {
    width: 100%;
    height: 200px;
    object-fit: contain;
    padding: 1.5rem;
    background: var(--bg-gray);
}

.vehicle-details {
    padding: 1.5rem;
}

.vehicle-name {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.vehicle-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.vehicle-spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-gray);
}

.vehicle-spec-item i {
    color: var(--primary);
}

.vehicle-price {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.vehicle-price-old {
    font-size: 1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.vehicle-price-amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--success);
    line-height: 1;
}

.vehicle-price-currency {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--success);
}

.modern-badge-discount {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--danger);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.875rem;
}

/* ========================================
   BADGES
   ======================================== */
.modern-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    background: var(--bg-gray);
    border: 1px solid var(--border);
}

.modern-badge-success {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.2);
    color: var(--success);
}

.modern-badge-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.2);
    color: var(--info);
}

/* ========================================
   ANIMATIONS - MINIMAL
   ======================================== */
.animate-fade-in {
    animation: fadeIn 0.3s ease;
}

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

.animate-slide-in {
    animation: slideIn 0.3s ease;
}

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

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    .modern-progress,
    #progressbar {
        padding: 1.5rem 0;
    }
    
    .modern-step-circle,
    #progressbar div span,
    #progressbar li span {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .modern-step-label,
    #progressbar div,
    #progressbar li {
        font-size: 0.75rem;
    }
    
    .modern-card {
        padding: 1.25rem !important;
        margin: 0 -0.5rem;
        border-radius: var(--radius) !important;
    }
    
    .modern-page .container-fluid {
        padding: 1rem 0.75rem !important;
    }
    
    .route-locations {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .route-arrow {
        transform: rotate(90deg);
    }
    
    .route-details {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   MODERN INPUT (test.php'deki gibi)
   ======================================== */
.modern-input,
input.modern-input {
    height: 56px !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: var(--text-dark) !important;
    background: var(--bg-white) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    width: 100%;
    display: block;
}

.modern-input:focus,
input.modern-input:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(58, 166, 185, 0.1) !important;
    outline: none !important;
}

/* ========================================
   MODERN SELECT (test.php'deki gibi)
   ======================================== */
.modern-select,
select.modern-select {
    height: 56px !important;
    padding: 0.875rem 1rem !important;
    font-size: 0.9375rem !important;
    font-weight: 500 !important;
    color: var(--text-dark) !important;
    background: var(--bg-white) !important;
    border: 1px solid var(--border) !important;
    border-radius: var(--radius) !important;
    box-shadow: var(--shadow-sm) !important;
    transition: border-color 0.2s ease, box-shadow 0.2s ease !important;
    width: 100%;
    display: block;
}

.modern-select:focus,
select.modern-select:focus {
    border-color: var(--primary) !important;
    box-shadow: 0 0 0 3px rgba(58, 166, 185, 0.1) !important;
    outline: none !important;
}

/* ========================================
   MODERN BUTTON (test.php'deki gibi)
   ======================================== */
.modern-btn {
    height: 56px !important;
    padding: 0 2rem !important;
    font-size: 0.9375rem !important;
    font-weight: 600 !important;
    border-radius: var(--radius) !important;
    border: none !important;
    transition: opacity 0.2s ease !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.5rem !important;
    cursor: pointer;
}

.modern-btn:hover {
    opacity: 0.9;
}

.modern-btn-primary {
    background: var(--primary) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(58, 166, 185, 0.25) !important;
}

.modern-btn-secondary {
    background: var(--text-gray) !important;
    color: white !important;
    box-shadow: 0 4px 12px rgba(107, 114, 128, 0.25) !important;
}

.modern-btn-block {
    width: 100% !important;
    display: flex !important;
}

/* ========================================
   FIX: NO TRANSFORM ON ANY ELEMENT
   ======================================== */
.modern-page *,
.modern-page *:hover,
.modern-page *:focus,
.modern-page *:active {
    transform: none !important;
}

/* Allow only these specific transforms */
@media (max-width: 768px) {
    .route-arrow {
        transform: rotate(90deg) !important;
    }
}
