﻿/* Adım Göstergesi Stilleri */
.custom-stepper {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-bottom: 40px;
}

.custom-stepper::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #e0e0e0;
    z-index: 0;
}

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

.step-circle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin: 0 auto 8px;
    background-color: #e0e0e0;
    color: #777;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 500;
    font-size: 16px;
    transition: all 0.3s ease;
}

.step-label {
    font-size: 14px;
    color: #777;
}

.step.active .step-circle {
    background-color: #dcbb87;
    color: #fff;
}

.step.active .step-label {
    font-weight: 600;
    color: #333;
}

/* Form Stilleri */
.form-content {
    background: #fff;
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.form-group {
    padding: 20px 0;
    border-bottom: 1px solid #eee;
}

.form-control-container {
    position: relative;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.select2-container .select2-selection--single {
    height: 46px;
    padding: 10px 15px;
    border: 1px solid #ddd;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
}

/* Uyarı Mesajları */
.alert {
    display: flex;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 15px;
}

.alert-info {
    background-color: #e6f4ff;
    color: #005b99;
}

.alert-warning {
    background-color: #fff8e6;
    color: #8a6d3b;
}

.alert-icon {
    margin-right: 10px;
    font-size: 20px;
}

.alert-message {
    flex: 1;
}

/* Buton Stilleri */
.btn {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-primary {
    background-color: #dcbb87;
    color: #fff;
    border: none;
}

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

.btn-secondary {
    background-color: #6c757d;
    color: #fff;
    border: none;
}

.btn-secondary:hover {
    background-color: #5a6268;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    overflow: visible;
}

.title {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

label {
    font-weight: 500;
    color: #555;
    font-family: "Mulish", sans-serif;
    font-size: 15px;
}

.input-group-text {
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    padding: 0.375rem 0.75rem;
}

.error-message {
    color: #dc3545;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Radyo buton stilleri */
.radio-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.radio-label {
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    margin-bottom: 0;
}

.radio-label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
}

.radio-custom {
    position: absolute;
    top: 0;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border: 2px solid #ddd;
    border-radius: 50%;
}

.radio-label:hover .radio-custom {
    border-color: #dcbb87;
}

.radio-label input:checked ~ .radio-custom {
    background-color: #fff;
    border-color: #dcbb87;
}

.radio-label input:checked ~ .radio-custom:after {
    content: "";
    position: absolute;
    display: block;
    top: 2px;
    left: 3px;
    width: 11px;
    height: 12px;
    border-radius: 50%;
    background: #dcbb87;
}

/* Yolcu listesi stilleri */
.passenger-row {
    align-items: center;
}

/* Modal stilleri */
.modal-content {
    border-radius: 8px;
}

.modal-header {
    border-bottom: 1px solid #eee;
}

.modal-footer {
    border-top: 1px solid #eee;
}

/* Country code selector with flags */
.country-code-select {
    padding-left: 40px !important;
    background-position: left 10px center;
    background-repeat: no-repeat;
    background-size: 20px;
}

/* Signature canvas */
.signature-container {
    background-color: #f9f9f9;
    padding: 10px;
    border-radius: 4px;
}

/* Delete passenger button */
.delete-passenger {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

/* Passenger row checkbox and delete button */
.passenger-row .form-check {
    margin-right: 10px;
}

/* Input masking */
.iti {
    width: 100%;
}

.iti__flag-container {
    padding: 0 6px;
}

.form-check-input {
    margin-left: -2.25rem !important;
}

/* Özel Checkbox Stili */
.custom-checkbox {
    display: block;
    position: relative;
    padding-left: 30px;
    margin-bottom: 15px;
    cursor: pointer;
    font-size: 14px;
    user-select: none;
}

/* Orijinal checkbox'u gizle */
.custom-checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

/* Özel checkbox tasarımı */
.checkmark {
    position: absolute;
    top: 2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: white;
    border: 2px solid #dcbb87;
    border-radius: 4px;
    transition: all 0.2s;
}

/* Checkbox işaretli olduğunda stil */
.custom-checkbox input:checked ~ .checkmark {
    background-color: #dcbb87;
}

/* Check işareti (gizli) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Check işaretini göster */
.custom-checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Check işareti stil */
.custom-checkbox .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Odaklanma efekti */
.custom-checkbox input:focus ~ .checkmark {
    box-shadow: 0 0 0 3px rgba(220, 187, 135, 0.25);
}

.signature-container {
    width: 100%;
    margin: 0 auto;
}

#signatureCanvas {
    width: 100%;
    height: 200px; /* Sabit yükseklik */
    border: 1px solid #ddd;
    touch-action: none;
    display: block;
    background-color: white;
    border-radius: 4px;
}