/* ============================
   Reservation Form Styles
   ============================ */

:root {
    /* Golden Line Limo Brand Colors */
    --bs-gold: rgb(0, 0, 0);
    --bs-gold-light: rgba(197, 165, 114, 0.1);
    --bs-gold-medium: rgba(197, 165, 114, 0.3);
}


/* Main container styles */
.reservation-section {
    padding: 10rem 0 !important;
}

.reservation-section .card {
    margin: 0 auto;
    max-width: 100%;
    border-radius: 10px;
    border: none !important;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05) !important;
    transition: all 0.3s ease !important;
}

.reservation-section .card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1) !important;
}

.reservation-progress {
    margin-bottom: 30px;
}

.progress-container {
    position: relative;
    margin-bottom: 20px;
}

.progress {
    height: 8px;
    background-color: #e9ecef;
    border-radius: 5px;
}

.progress-bar {
    background-color: #3763f4;
    border-radius: 5px;
    transition: width 0.4s ease;
}

.steps-container {
    display: flex;
    justify-content: space-between;
    margin-top: 10px;
}

.step {
    text-align: center;
    position: relative;
    flex: 1;
}

.step-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #e9ecef;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 8px;
    color: #6c757d;
    transition: background-color 0.3s ease;
}

.step.active .step-icon {
    background-color: #3763f4;
    color: white;
}

.step span {
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.step.active span {
    color: #3763f4;
    font-weight: 600;
}

.form-step {
    display: none !important;
    opacity: 0 !important;
    transform: translateY(20px) !important;
    transition: opacity 0.3s ease, transform 0.3s ease !important;
}

.form-step.active {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Service Options Styles */
.service-option {
    position: relative !important;
    height: 100% !important;
}

.service-option-input {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

.service-option-label {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 20px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    text-align: center !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    height: 100% !important;
    color: #333 !important;
}

.service-icon {
    font-size: 24px !important;
    margin-bottom: 10px !important;
    color: #6c757d !important;
    transition: all 0.3s ease !important;
}

.service-title {
    font-weight: 600 !important;
    color: #333 !important;
}

.service-option-input:checked + .service-option-label {
    border-color: #3763f4 !important;
    background-color: rgba(55, 99, 244, 0.05) !important;
}

.service-option-input:checked + .service-option-label .service-icon {
    color: #3763f4 !important;
}

.service-option-label:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05) !important;
}

/* Vehicle Cards Styles */
.vehicle-card {
    position: relative !important;
    margin-bottom: 20px !important;
}

.vehicle-input {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

.vehicle-label {
    display: block !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
}

.vehicle-image {
    position: relative !important;
    overflow: hidden !important;
}

.vehicle-image img {
    width: 100% !important;
    height: 200px !important;
    object-fit: cover !important;
    transition: transform 0.5s ease !important;
}

.vehicle-label:hover .vehicle-image img {
    transform: scale(1.05) !important;
}

.vehicle-details {
    padding: 15px !important;
}

.vehicle-details h4 {
    margin-bottom: 10px !important;
    font-weight: 600 !important;
}

.vehicle-features {
    list-style-type: none !important;
    padding: 0 !important;
    margin-bottom: 15px !important;
}

.vehicle-features li {
    margin-bottom: 8px !important;
    font-size: 14px !important;
}

.vehicle-features li i {
    margin-right: 8px !important;
    color: #3763f4 !important;
}

.price-label {
    font-size: 16px !important;
    color: #6c757d !important;
}

.price-amount {
    font-size: 20px !important;
    font-weight: 700 !important;
    color: #000000 !important;
}

.vehicle-input:checked + .vehicle-label {
    box-shadow: 0 0 39px -25px rgba(116, 116, 116, 1);
    border: 0.5px solid rgba(0, 92, 255, 1) !important;
}

/* Extra Services Styles */
.extra-service-option {
    position: relative !important;
    height: 100% !important;
    margin-bottom: 15px !important;
}

.extra-service-input {
    position: absolute !important;
    opacity: 0 !important;
    cursor: pointer !important;
}

.extra-service-label {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    padding: 15px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    cursor: pointer !important;
    transition: all 0.3s ease !important;
    height: 5rem;
}

.service-price {
    font-weight: 600 !important;
    color: #3763f4 !important;
}

.extra-service-input:checked + .extra-service-label {
    border-color: #3763f4 !important;
    background-color: rgba(55, 99, 244, 0.05) !important;
}

.extra-service-label:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.05) !important;
}

.service-list {
    border-radius: 4px;
}

.service-list .list-group-item {
    border-right: none;
    border-left: none;
    border-top: none;
    padding: 18px;
}

.badge-res {
    padding: .5em .9em !important;
}

/* Stops Container Styles */
.stop-item {
    position: relative !important;
    padding: 15px !important;
    border: 1px solid #dee2e6 !important;
    border-radius: 8px !important;
    margin-bottom: 10px !important;
    transition: all 0.3s ease !important;
}

.stop-item:hover {
    border-color: #adb5bd !important;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05) !important;
}

/* Price Summary Styles */
.price-summary .card {
    border: none !important;
    border-radius: 8px !important;
}

.price-item {
    margin-bottom: 10px !important;
    font-size: 14px !important;
}

.price-total {
    font-size: 18px !important;
}

/* Form Navigation Styles */
.form-navigation {
    margin-top: 20px;
    border-top: 1px solid #dee2e6 !important;
    border-radius: 0 0 8px 8px !important;
}

.btn {
    transition: all 0.3s ease !important;
}

.btn:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

/* Form Validation Styles */
.form-control.is-invalid {
    border-color: #dc3545 !important;
    padding-right: calc(1.5em + 0.75rem) !important;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right calc(0.375em + 0.1875rem) center !important;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem) !important;
}

.form-check-input.is-invalid ~ .form-check-label {
    color: #dc3545 !important;
}

/* Modal Styles */
.modal-header {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1) !important;
}

.modal-footer {
    border-top: 1px solid rgba(0, 0, 0, 0.1) !important;
}

/* Toast Notification Styles */
.toast {
    z-index: 1100 !important;
}


@media (max-width: 767px) {
    .vehicle-image img {
        height: 150px !important;
    }

    .step span {
        display: none !important;
    }

    .form-navigation .btn {
        padding-left: 15px !important;
        padding-right: 15px !important;
    }

    .section-title h2 {
        font-size: 24px !important;
    }
}

@media (max-width: 575px) {
    .vehicle-features li {
        font-size: 12px !important;
    }

    .price-amount {
        font-size: 16px !important;
    }

    .p-lg-5 {
        padding: 1.5rem !important;
    }
}

.reservation-banner {
    background-image: url('../images/goldenline/blurry-city-light.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    padding: 1rem 0 !important;
}

.reservation-banner:before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: linear-gradient(181deg, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.64) 91.6%, rgba(0, 0, 0, 0));
}

/* Banner content styling */
.reservation-banner .container {
    position: relative !important;
    z-index: 1 !important;
    padding: 7rem 0 1rem 0 !important;
}

.reservation-banner h1 {
    color: #fff !important;
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 15px !important;
}

.reservation-banner p {
    color: #fff !important;
    font-size: 1.2rem !important;
}

.reservation-banner:after {
    content: "" !important;
    position: absolute !important;
    bottom: -50px !important;
    left: 0 !important;
    width: 100% !important;
    height: 50px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23ffffff' fill-opacity='1' d='M0,64L80,64C160,64,320,64,480,53.3C640,43,800,21,960,16C1120,11,1280,21,1360,26.7L1440,32L1440,100L1360,100C1280,100,1120,100,960,100C800,100,640,100,480,100C320,100,160,100,80,100L0,100Z'%3E%3C/path%3E%3C/svg%3E") !important;
    background-size: cover !important;
    background-position: center !important;
}

/* Label Styles */
.form-label {
    color: #333 !important;
    font-weight: 600;
    margin-bottom: 5px;
    display: block;
}

/* Form Control Styles */
.form-control {
    border: 1px solid #ced4da;
    border-radius: 4px;
    padding: 10px;
    width: 100%;
    box-shadow: none;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: rgba(55, 99, 244, 0.33);
    box-shadow: 0 0 3px 0 rgba(55, 99, 244, 0.25);
}

/* Custom Progress Container */
.progress-container {
    background: white;
    border-radius: 8px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

/* Progress Track */
.custom-progress-track {
    width: 100%;
    height: 2px;
    background-color: #e5e5e5;
    border-radius: 1px;
    position: relative;
    overflow: hidden;
}

.custom-progress-fill {
    height: 100%;
    background-color: var(--bs-gold);
    border-radius: 1px;
    transition: width 0.6s ease;
}

/* Step Styling */

.step-number {
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background-color: #d4d4d4;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
    margin: 0 auto;
}

.step-label {
    font-size: 0.875rem;
    color: #404040;
    font-weight: 400;
    transition: all 0.2s ease;
}

.step-description {
    font-size: 0.75rem;
    color: #727272;
    font-weight: 500;
    transition: all 0.2s ease;
}

/* Active State */
.rogress-step {
    cursor: unset;
}

.progress-step.active .step-number {
    background-color: #000000;
    color: white;
}

.progress-step.active .step-label {
    color: var(--bs-gold);
    font-weight: 500;
}

.progress-step.active .step-description {
    color: #000000;
}

/* Completed State */
.progress-step.completed .step-number {
    background-color: #000;
    color: white;
}

.progress-step.completed .step-label {
    color: #000;
}

.progress-step.completed .step-description {
    color: #525252;
}

/* Hover Effect */
.progress-step:hover:not(.active) .step-number {
    background-color: #d4d4d4;
    color: #ffffff;
}

.progress-step:hover:not(.active) .step-label {
    color: #000;
}


.progress-title {
    font-size: 1.125rem;
    font-weight: 500;
    color: #000;
}

.progress-counter {
    font-size: 0.875rem;
    color: #525252;
    font-weight: 400;
}


.form-step {
    display: none;
    animation: fadeIn 0.4s ease-in-out;
}

.form-step.active {
    display: block;
}

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

@media (max-width: 767.98px) {
    .reservation-progress .step .step-icon {
        width: 40px;
        height: 40px;
        font-size: 0.9rem;
    }

    .reservation-progress .step span {
        font-size: 0.75rem;
    }

    .reservation-progress .steps-container::before,
    .reservation-progress .step.completed::after {
        top: 35px;
    }
}

.capacity-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 15px;
    border-radius: 50px;
    margin: 0 5px;
    color: white;
    font-weight: bold;
}

.passenger-badge {
    background: linear-gradient(to right, rgba(0, 0, 0, 0.54), #000000);
}

.luggage-badge {
    background: linear-gradient(to right, #000000, rgba(0, 0, 0, 0.54));
}

.capacity-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 19px;
    border-radius: 3px;
    margin: 0 5px;
    color: white;
    font-weight: bold;
    font-size: 1rem;
}

.passenger-badge {
    background: linear-gradient(135deg, #4A69BD, #000000);
}

.luggage-badge {
    background: linear-gradient(126deg, #c0a171, rgba(192, 161, 113, 0.39));
}

.capacity-badge i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 4px 19px;
    border-radius: 3px;
    margin: 0 5px;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
}

.vehicle-card {
    transition: all 0.3s ease;
}

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

.vehicle-image {
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 8px;
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100px;
}

.vehicle-image img {
    max-height: 70px;
    object-fit: contain;
}

.vehicle-name {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #333;
}

.vehicle-price {
    background-color: #f8f9fa !important;
    padding: 10px !important;
    border-radius: 4px !important;
    text-align: center;
    margin-top: 2rem;
    display: grid;
    align-items: center;
}

#loadingOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.divider {
    position: relative;
    text-align: center;
    margin: 15px 0;
}

.divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
}

.or-text {
    position: relative;
    display: inline-block;
    padding: 0 15px;
    background-color: #fff;
    color: #888;
}

.social-login-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
}

.payment-method-card {
    position: relative;
    margin-bottom: 1rem;
}

.payment-method-input {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.payment-method-label {
    display: block;
    background-color: #fff;
    border: 1px solid #dee2e6;
    border-radius: 0.5rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method-input:checked + .payment-method-label {
    border-color: #000080;
    box-shadow: 0 0 0 1px #000080;
}

.card-number {
    font-size: 1rem;
    margin: 0.25rem 0;
}

.card-name, .card-expiry {
    font-size: 0.875rem;
    font-weight: 500;
}

.default-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background-color: #000080;
    color: white;
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 0.25rem;
}

.btn-res {
    background: #000000 !important;
    border-radius: 20px;
    border: none !important;
    color: white !important;
    padding: 15px 25px;
    box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
}

.form-check-input:checked {
    background-color: rgba(21, 120, 52, 1) !important;
    border-color: rgba(21, 120, 52, 1) !important;
}
.alert-warning{
    color: rgba(255, 255, 255, 1) !important;
    background-color: #cc4b4b !important;
    border: none !important;
}
.form-check-input.is-invalid, .was-validated .form-check-input:invalid{
    border-color: #bd1524 !important;
}
.form-check-input.is-invalid ~ .form-check-label{
    color: #bd1524 !important;
}
.price-summary .card .card-body{
    padding: 1.5rem !important;
}
/* Tip Sistemi CSS - reservation-form.css dosyasına ekle */

/* Tip Option Cards */
.tip-option {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
    padding: 1rem;
    background: white;
    position: relative;
    overflow: hidden;
}

.tip-option:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.tip-option.selected {
    border-color: #0d6efd;
    background-color: #e7f3ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.15);
}

.tip-option.selected::before {
    content: '✓';
    position: absolute;
    top: 8px;
    right: 8px;
    background: #0d6efd;
    color: white;
    border-radius: 50%;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
}

.tip-amount {
    font-weight: 600;
    color: #0d6efd;
    font-size: 1.1em;
}

/* Tip Payment Type Selectors */
.tip-type-selector {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    background: white;
}

.tip-type-selector:hover {
    border-color: #0d6efd;
    background-color: #f8f9fa;
}

.tip-type-selector.active {
    border-color: #0d6efd;
    background-color: #e7f3ff;
}

/* Custom Tip Input */
.custom-tip-section {
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        max-height: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        max-height: 200px;
        transform: translateY(0);
    }
}

/* Tip Payment Method Section */
.tip-payment-method {
    animation: slideDown 0.3s ease;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #0d6efd;
}

/* Payment Method Section */
.payment-method-section {
    padding: 1.5rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    margin-bottom: 1rem;
    background: white;
}

.payment-method-note {
    transition: all 0.3s ease;
}

/* Price Summary Updates */
.tip-summary-row {
    border-top: 1px dashed #6c757d;
    padding-top: 0.5rem;
    margin-top: 0.5rem;
}

.tip-payment-badge {
    font-size: 0.75em;
}

.total-breakdown {
    border-top: 1px dotted #6c757d;
    padding-top: 0.5rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .tip-option {
        margin-bottom: 0.75rem;
    }

    .tip-type-selector {
        margin-bottom: 0.5rem;
    }

    .tip-payment-method {
        padding: 0.75rem;
    }
}

/* Animation for tip amount changes */
.tip-amount {
    transition: all 0.3s ease;
}

.tip-amount.updating {
    transform: scale(1.1);
    color: #198754;
}

/* Icon styling */
.tip-type-selector i {
    color: #6c757d;
    transition: color 0.3s ease;
}

.tip-type-selector.active i {
    color: #0d6efd;
}

/* Loading state for price updates */
.price-summary.updating {
    opacity: 0.7;
    pointer-events: none;
}

.price-summary.updating::after {
    content: 'Updating...';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255,255,255,0.9);
    padding: 0.5rem 1rem;
    border-radius: 4px;
    font-size: 0.9em;
    color: #6c757d;
}
