*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

.home-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    background-color: #2B6EA1;
    overflow-x: hidden;
}

.home-header {
    background-color: #2B6EA1;
}

.home-header-mobile {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
}

.home-header-desktop {
    display: none;
    flex-direction: column;
    align-items: center;
    padding: 20px 24px 0;
    position: relative;
}

.home-header-search {
    position: absolute;
    right: 30px;
    top: 16px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.home-header-logo-mobile {
    height: 48px;
}

.home-header-logo-desktop {
    height: 72px;
}

.home-header-spacer {
    background-color: #2B6EA1;
    padding: 12px 20px 20px;
    text-align: center;
}

.home-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background-image: url('../images/bg-pattern.png');
    background-repeat: repeat;
    background-size: 400px;
    background-color: #f5f5f2;
}

.home-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 20px 20px;
    width: 100%;
}

.home-heading {
    font-size: 26px;
    font-weight: 700;
    color: #1B5A9B;
    text-align: center;
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.02em;
}

.home-subheading {
    font-size: 14px;
    font-weight: 400;
    color: #6b7280;
    text-align: center;
    margin-bottom: 28px;
    line-height: 1.6;
    letter-spacing: 0.01em;
}

.home-form {
    max-width: 640px;
    margin: 0 auto;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.form-row {
    margin-bottom: 0;
}

.form-field {
    flex: 1;
    margin-bottom: 16px;
}

.form-label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #1f2937;
    margin-bottom: 8px;
    letter-spacing: 0.01em;
    line-height: 1.4;
}

.form-input,
.form-select {
    width: 100%;
    height: 48px;
    border: 1px solid #D5D5D5;
    border-radius: 6px;
    padding: 0 14px;
    font-size: 14px;
    font-weight: 400;
    color: #111827;
    background-color: #fff;
    outline: none;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    line-height: 1.5;
    letter-spacing: 0.02em;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}

.form-input::placeholder {
    color: #9ca3af;
    font-weight: 400;
    letter-spacing: 0.01em;
    opacity: 1;
}

.form-input:focus,
.form-select:focus {
    border-color: #2B6EA1;
    box-shadow: 0 0 0 3px rgba(43, 110, 161, 0.12);
}

.form-input-upper {
    text-transform: uppercase;
}

.form-input-upper::placeholder {
    text-transform: none;
}

.form-select {
    padding-right: 36px;
    color: #111827;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
}

.form-select:invalid {
    color: #9ca3af;
}

.form-select option {
    color: #111827;
    font-weight: 400;
}

.form-buttons {
    display: flex;
    gap: 12px;
    margin-bottom: 16px;
    flex-shrink: 0;
    width: 100%;
}

.btn-orange {
    height: 48px;
    padding: 0 28px;
    background-color: #F28C38;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    letter-spacing: 0.01em;
    line-height: 1.4;
    transition: background-color 0.2s;
    flex: 1 1 0;
}

.btn-orange:hover {
    background-color: #e07b2a;
}

.btn-blue {
    height: 48px;
    padding: 0 28px;
    background-color: #005BAC;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    letter-spacing: 0.01em;
    line-height: 1.4;
    transition: background-color 0.2s;
    flex: 1 1 0;
}

.btn-blue:hover {
    background-color: #004a8f;
}

.bottom-bar-wrap {
    max-width: 960px;
    margin: auto auto 0;
    width: 100%;
    overflow-x: hidden;
    padding: 0;
}

.bottom-bar {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
    border-radius: 0;
}

.bottom-bar-item {
    width: 100px;
    min-width: 100px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 14px 6px;
    cursor: pointer;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    flex-shrink: 0;
}

.bottom-bar-item:last-child {
    border-right: none;
}

.bottom-bar-item.red {
    background-color: #E53935;
}

.bottom-bar-item.blue {
    background-color: #2B6EA1;
}

.bottom-bar-item.green {
    background-color: #8BC34A;
}

.bottom-bar-icon {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 6px;
}

.bottom-bar-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

.bottom-bar-text {
    color: #fff;
    font-size: 10px;
    font-weight: 600;
    text-align: center;
    line-height: 1.2;
}

@media (min-width: 768px) {
    .home-header-mobile {
        display: none;
    }

    .home-header-desktop {
        display: flex;
    }

    .form-row {
        display: flex;
        gap: 16px;
    }

    .form-row-buttons {
        display: flex;
        gap: 16px;
        align-items: flex-end;
    }

    .form-buttons {
        width: auto;
    }

    .bottom-bar-wrap {
        padding: 0 8px 40px;
    }

    .bottom-bar {
        border-radius: 8px;
    }

    .bottom-bar-item {
        flex-shrink: 1;
    }
}

/* Araç seçim sayfası */
.vehicle-page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 20px 30px;
    width: 100%;
}

.vehicle-info-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px 24px;
    margin-bottom: 24px;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.vehicle-info-card h1 {
    font-size: 22px;
    font-weight: 600;
    color: #1B5A9B;
    margin-bottom: 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.vehicle-info-card p {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.6;
    margin: 0;
}

.vehicle-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
    gap: 14px;
    margin-bottom: 28px;
}

.vehicle-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 12px;
    border-radius: 14px;
    border: 1px solid #e5e7eb;
    background-color: #fff;
    cursor: pointer;
    outline: none;
    transition: all 0.2s ease;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

.vehicle-btn:hover {
    border-color: #93c5fd;
    background-color: #f8fafc;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.vehicle-btn.selected {
    border: 2px solid #2B6EA1;
    background-color: #eff6ff;
}

.vehicle-btn-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-color: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 10px;
    font-size: 26px;
    line-height: 1;
}

.vehicle-btn span {
    font-size: 12px;
    font-weight: 500;
    color: #4b5563;
    text-align: center;
    line-height: 1.3;
}

.vehicle-btn:hover span,
.vehicle-btn.selected span {
    color: #1B5A9B;
}

.vehicle-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #64748b;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: color 0.2s ease;
}

.vehicle-back:hover {
    color: #1B5A9B;
}

.vehicle-back-icon {
    width: 36px;
    height: 36px;
    border: 2px solid currentColor;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vehicle-back-wrap {
    text-align: center;
}

@media (min-width: 768px) {
    .vehicle-grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .vehicle-info-card {
        padding: 32px 36px;
    }
}

/* Ödeme / kart sayfası */
.payment-page-content {
    max-width: 720px;
    margin: 0 auto;
    padding: 28px 20px 30px;
    width: 100%;
}

.payment-card {
    background-color: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px 28px 36px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
    max-width: 540px;
    margin: 0 auto;
}

.payment-card h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1B5A9B;
    margin-bottom: 8px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.payment-card .payment-desc {
    font-size: 13px;
    font-weight: 400;
    color: #6b7280;
    line-height: 1.6;
    margin-bottom: 24px;
}

.payment-card .payment-desc strong {
    color: #1B5A9B;
    font-weight: 600;
}

.payment-error {
    background-color: #fef2f2;
    border: 1px solid #fecaca;
    color: #dc2626;
    font-size: 13px;
    font-weight: 500;
    padding: 12px 14px;
    border-radius: 8px;
    margin-bottom: 20px;
    line-height: 1.5;
}

.payment-form .form-field {
    margin-bottom: 16px;
}

.payment-row {
    display: flex;
    gap: 12px;
}

.payment-row .form-field {
    margin-bottom: 16px;
}

.payment-row .expiry-group {
    flex: 1.2;
}

.payment-row .cvv-group {
    flex: 0.8;
}

.expiry-inputs {
    display: flex;
    gap: 8px;
}

.expiry-inputs .form-select {
    flex: 1;
}

.btn-payment {
    margin-top: 8px;
    min-width: 220px;
    height: 44px;
    padding: 0 32px;
    background-color: #005BAC;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
    letter-spacing: 0.02em;
    transition: background-color 0.2s;
}

.btn-payment:hover {
    background-color: #004a8f;
}

@media (max-width: 480px) {
    .payment-card {
        padding: 24px 18px 28px;
    }

    .payment-row {
        flex-direction: column;
        gap: 0;
    }
}
