/* MHRS System Styles */
/* Reset and Base Styles */
html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: rgba(0, 0, 0, 0.65);
    background-color: #fff;
    overflow-x: hidden;
}

* {
    box-sizing: border-box;
}

/* Main Container */
.vatandasApp {
    width: 100%;
    min-height: 100vh;
    background: rgba(224, 224, 224, 0.45);
}

/* Utility Classes */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.flex-row {
    flex-direction: row;
}

.align-center {
    align-items: center;
}

.align-start {
    align-items: flex-start;
}

.align-end {
    align-items: flex-end;
}

.justify-center {
    justify-content: center;
}

.justify-start {
    justify-content: flex-start;
}

.justify-end {
    justify-content: flex-end;
}

.justify-between {
    justify-content: space-between;
}

.justify-around {
    justify-content: space-around;
}

.w-full {
    width: 100% !important;
}

.h-full {
    height: 100% !important;
}

/* Main Layout */
.main-container {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
}

/* Header Styles */
.header {
    background: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 16px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #e8e8e8;
    position: sticky;
    top: 0;
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    flex: 1;
}

.logo {
    width: 120px;
    height: auto;
    margin-right: 16px;
}

.logo-text {
    font-size: 24px;
    font-weight: 600;
    color: #1890ff;
    margin: 0;
}

.logo-subtitle {
    color: #8c8c8c;
    margin-left: 8px;
    font-size: 14px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* Content Area */
.content-area {
    flex: 1;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 40px 20px;
    min-height: calc(100vh - 80px);
}

/* Form Styles */
.appointment-form,
.login-form,
.payment-form {
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    width: 100%;
    padding: 40px;
    margin: 0 auto;
}

.form-title {
    text-align: center;
    font-size: 28px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
}

.form-subtitle {
    text-align: center;
    color: #8c8c8c;
    margin-bottom: 40px;
    font-size: 16px;
}

/* Appointment Grid */
.appointment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 32px;
}

.appointment-option {
    border: 2px solid #f0f0f0;
    border-radius: 12px;
    padding: 24px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #fff;
    text-align: center;
    position: relative;
    min-height: 140px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.appointment-option:hover {
    border-color: #1890ff;
    box-shadow: 0 2px 8px rgba(24, 144, 255, 0.2);
}

.appointment-option.selected {
    border-color: #1890ff;
    background: #e6f7ff;
}

.appointment-icon {
    font-size: 32px;
    color: #1890ff;
    margin-bottom: 16px;
}

.appointment-title {
    font-size: 16px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
}

.appointment-desc {
    font-size: 14px;
    color: #8c8c8c;
    line-height: 1.4;
}

/* Form Inputs */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #262626;
    font-weight: 600;
    font-size: 14px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e6e6e6;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #fff;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.edevlet-form .form-group {
    margin-bottom: 20px;
}

.edevlet-form .form-group label {
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.edevlet-form .form-group input {
    border: 2px solid #ddd;
    padding: 14px 16px;
    font-size: 15px;
    border-radius: 6px;
    background: #fff;
    transition: all 0.3s ease;
}

.edevlet-form .form-group input:focus {
    border-color: #2196F3;
    box-shadow: 0 0 0 3px rgba(33, 150, 243, 0.1);
}

.edevlet-form .input-wrapper {
    position: relative;
}

.edevlet-form .input-wrapper i {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 16px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #8c8c8c;
    cursor: pointer;
}

/* Buttons */
.submit-button,
.btn-primary {
    width: 100%;
    height: 48px;
    background: #1890ff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submit-button:hover,
.btn-primary:hover {
    background: #40a9ff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.3);
}

.submit-button:disabled,
.btn-primary:disabled {
    background: #f5f5f5;
    color: #bfbfbf;
    cursor: not-allowed;
}

.edevlet-form .submit-button {
    background: #2196F3;
    height: 48px;
    font-size: 16px;
    border-radius: 6px;
    font-weight: 600;
    text-transform: none;
    letter-spacing: normal;
    margin-top: 0px;
}

.edevlet-form .submit-button:hover {
    background: #1976D2;
    box-shadow: 0 2px 8px rgba(33, 150, 243, 0.3);
    transform: translateY(-1px);
}

.edevlet-buttons {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.edevlet-btn-cancel {
    background: #f5f5f5;
    color: #666;
    border: 1px solid #ddd;
    height: 48px;
    border-radius: 6px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.edevlet-btn-cancel:hover {
    background: #eee;
    border-color: #bbb;
}

.btn-secondary {
    background: #f5f5f5;
    color: #595959;
    border: 1px solid #d9d9d9;
}

.btn-secondary:hover {
    background: #fff;
    border-color: #1890ff;
    color: #1890ff;
}

/* Info Sections */
.info-section {
    background: #f6ffed;
    border: 1px solid #b7eb8f;
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
}

.info-title {
    font-size: 14px;
    font-weight: 600;
    color: #52c41a;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-text {
    font-size: 14px;
    color: #389e0d;
    line-height: 1.5;
}

.warning-section {
    background: #fff7e6;
    border: 1px solid #ffd591;
    border-radius: 8px;
    padding: 16px;
    margin-top: 24px;
}

.warning-title {
    font-size: 14px;
    font-weight: 600;
    color: #fa8c16;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.warning-text {
    font-size: 14px;
    color: #d48806;
    line-height: 1.5;
}

/* Payment Grid */
.payment-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* Loading and Waiting Styles */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 40px;
    text-align: center;
}

.loading-gif {
    width: 120px;
    height: auto;
    margin-bottom: 24px;
}

.loading-title {
    font-size: 24px;
    font-weight: 600;
    color: #262626;
    margin-bottom: 8px;
}

.loading-text {
    font-size: 16px;
    color: #8c8c8c;
}

/* E-Devlet Login Styles */
.edevlet-container {
    max-width: 400px;
    margin: 0 auto;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid #e5e5e5;
}

.edevlet-header {
    background: #fff;
    padding: 32px 24px 24px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.edevlet-logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.edevlet-logo-icon {
    width: 40px;
    height: 40px;
    background: #e30613;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
}

.edevlet-logo-icon::after {
    content: 'e';
    color: white;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
}

.edevlet-logo-text {
    color: #333;
    font-size: 22px;
    font-weight: 600;
    margin: 0;
}

.edevlet-subtitle {
    color: #666;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 8px 0 0 0;
    font-weight: 500;
}

.edevlet-url {
    color: #666;
    font-size: 12px;
    margin-top: 16px;
    text-decoration: none;
}

.edevlet-body {
    padding: 32px 24px;
    background: #fff;
}

.edevlet-dropdown {
    background: #f8f9fa;
    border: 2px solid #2196F3;
    border-radius: 6px;
    padding: 12px 16px;
    margin-bottom: 24px;
    color: #2196F3;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.edevlet-dropdown:hover {
    background: #e3f2fd;
}

.edevlet-info-text {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 24px;
    text-align: justify;
}

.edevlet-link {
    color: #2196F3;
    text-decoration: none;
    font-weight: 500;
}

.edevlet-link:hover {
    text-decoration: underline;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .header {
        padding: 12px 16px;
        flex-wrap: wrap;
    }

    .logo-text {
        font-size: 20px;
    }

    .logo-subtitle {
        display: none;
    }

    .content-area {
        padding: 20px 10px;
    }

    .appointment-form,
    .login-form,
    .payment-form {
        padding: 24px 16px;
        margin: 0;
        border-radius: 12px;
    }

    .form-title {
        font-size: 24px;
    }

    .form-subtitle {
        font-size: 14px;
    }

    .appointment-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .appointment-option {
        padding: 20px 16px;
        min-height: 120px;
    }

    .appointment-icon {
        font-size: 28px;
        margin-bottom: 12px;
    }

    .appointment-title {
        font-size: 15px;
    }

    .appointment-desc {
        font-size: 13px;
    }

    .payment-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .secure-container {
        margin: 10px;
    }

    .secure-header,
    .secure-body {
        padding: 20px 16px;
    }
}

@media (max-width: 480px) {
    .header {
        padding: 10px 12px;
    }

    .logo-text {
        font-size: 18px;
    }

    .content-area {
        padding: 15px 8px;
    }

    .appointment-form,
    .login-form,
    .payment-form {
        padding: 20px 12px;
        border-radius: 8px;
    }

    .form-title {
        font-size: 22px;
    }

    .appointment-option {
        padding: 16px 12px;
        min-height: 100px;
    }

    .appointment-icon {
        font-size: 24px;
        margin-bottom: 10px;
    }

    .appointment-title {
        font-size: 14px;
    }

    .appointment-desc {
        font-size: 12px;
    }

    .submit-button,
    .btn-primary {
        height: 44px;
        font-size: 15px;
    }

    .form-group input,
    .form-group select {
        padding: 10px 12px;
        font-size: 14px;
    }
}

/* Tablet Responsive */
@media (min-width: 769px) and (max-width: 1024px) {
    .appointment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .appointment-form,
    .login-form,
    .payment-form {
        max-width: 700px;
        padding: 36px;
    }
}

/* Large Desktop */
@media (min-width: 1200px) {
    .appointment-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .appointment-form,
    .login-form,
    .payment-form {
        max-width: 900px;
        padding: 48px;
    }
}

/* Admin Panel Styles */
.admin-container {
    background: #f0f2f5;
    min-height: 100vh;
}

.admin-header {
    background: #001529;
    color: #fff;
    padding: 0 24px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.admin-sidebar {
    background: #001529;
    width: 256px;
    min-height: calc(100vh - 64px);
    position: fixed;
    left: 0;
    top: 64px;
}

.admin-content {
    margin-left: 256px;
    padding: 24px;
    min-height: calc(100vh - 64px);
}

.admin-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    padding: 24px;
    margin-bottom: 24px;
}

/* Table Styles */
.data-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.data-table th,
.data-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid #f0f0f0;
}

.data-table th {
    background: #fafafa;
    font-weight: 600;
    color: #262626;
}

.data-table tr:hover {
    background: #fafafa;
}

/* Status Badges */
.status-badge {
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending {
    background: #fff7e6;
    color: #fa8c16;
}

.status-completed {
    background: #f6ffed;
    color: #52c41a;
}

.status-failed {
    background: #fff2f0;
    color: #ff4d4f;
}

/* Scrollbar Styles */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Personal Info Section */
.personal-info-section {
    margin-top: 40px;
    padding: 32px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 2px solid #e2e8f0;
}

.section-header i {
    font-size: 24px;
    color: #1890ff;
    margin-right: 12px;
}

.section-header h3 {
    font-size: 20px;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.personal-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.personal-info-section .form-group {
    margin-bottom: 0;
}

.personal-info-section .form-label {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    color: #374151;
    font-size: 15px;
}

.personal-info-section .form-label i {
    font-size: 16px;
    color: #6b7280;
    margin-right: 8px;
    width: 20px;
}

.personal-info-section .form-control {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    background: #ffffff;
}

.personal-info-section .form-control:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 4px rgba(24, 144, 255, 0.1);
    outline: none;
    background: #ffffff;
}

.personal-info-section .form-control::placeholder {
    color: #9ca3af;
    font-weight: 400;
}

@media (max-width: 768px) {
    .personal-info-section {
        padding: 24px 20px;
        margin-top: 30px;
    }

    .personal-info-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .section-header h3 {
        font-size: 18px;
    }

    .personal-info-section .form-control {
        padding: 14px 16px;
        font-size: 16px;
    }
}

*,
:after,
:before {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246/0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

::backdrop {
    --tw-border-spacing-x: 0;
    --tw-border-spacing-y: 0;
    --tw-translate-x: 0;
    --tw-translate-y: 0;
    --tw-rotate: 0;
    --tw-skew-x: 0;
    --tw-skew-y: 0;
    --tw-scale-x: 1;
    --tw-scale-y: 1;
    --tw-pan-x: ;
    --tw-pan-y: ;
    --tw-pinch-zoom: ;
    --tw-scroll-snap-strictness: proximity;
    --tw-gradient-from-position: ;
    --tw-gradient-via-position: ;
    --tw-gradient-to-position: ;
    --tw-ordinal: ;
    --tw-slashed-zero: ;
    --tw-numeric-figure: ;
    --tw-numeric-spacing: ;
    --tw-numeric-fraction: ;
    --tw-ring-inset: ;
    --tw-ring-offset-width: 0px;
    --tw-ring-offset-color: #fff;
    --tw-ring-color: rgb(59 130 246/0.5);
    --tw-ring-offset-shadow: 0 0 #0000;
    --tw-ring-shadow: 0 0 #0000;
    --tw-shadow: 0 0 #0000;
    --tw-shadow-colored: 0 0 #0000;
    --tw-blur: ;
    --tw-brightness: ;
    --tw-contrast: ;
    --tw-grayscale: ;
    --tw-hue-rotate: ;
    --tw-invert: ;
    --tw-saturate: ;
    --tw-sepia: ;
    --tw-drop-shadow: ;
    --tw-backdrop-blur: ;
    --tw-backdrop-brightness: ;
    --tw-backdrop-contrast: ;
    --tw-backdrop-grayscale: ;
    --tw-backdrop-hue-rotate: ;
    --tw-backdrop-invert: ;
    --tw-backdrop-opacity: ;
    --tw-backdrop-saturate: ;
    --tw-backdrop-sepia: ;
    --tw-contain-size: ;
    --tw-contain-layout: ;
    --tw-contain-paint: ;
    --tw-contain-style:
}

*,
:after,
:before {
    box-sizing: border-box;
    border: 0 solid
}

:after,
:before {
    --tw-content: ""
}

:host,
html {
    line-height: 1.5;
    -webkit-text-size-adjust: 100%;
    -moz-tab-size: 4;
    -o-tab-size: 4;
    tab-size: 4;
    font-family: ui-sans-serif, system-ui, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol, Noto Color Emoji;
    font-feature-settings: normal;
    font-variation-settings: normal;
    -webkit-tap-highlight-color: transparent
}

body {
    margin: 0;
    line-height: inherit;
    background: #3b77d1;
    min-height: 100vh;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header {
    background: #3b77d1;
    padding: 15px 0;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.main-nav {
    flex: 1;
    display: flex;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    font-size: 13px;
    font-weight: 600;
    align-items: center;
}

.nav-left a,
.nav-right a {
    color: white;
    text-decoration: none;
    padding: 8px 12px;
    transition: all 0.3s;
    border-radius: 6px;
    white-space: nowrap;
}

.nav-left a:hover,
.nav-right a:hover {
    background: rgba(255, 255, 255, 0.15);
}

.randevu-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 16px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    white-space: nowrap;
}

.randevu-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-1px);
}

.main-content {
    background: #f0f2f5;
    min-height: calc(100vh - 80px);
    padding: 40px 0;
}

.form-section {
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    max-width: 800px;
}

.form-title {
    color: #3b77d1;
    font-size: 28px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 10px;
}

.form-subtitle {
    color: #666;
    text-align: center;
    margin-bottom: 40px;
    font-size: 16px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-input,
.form-select {
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    padding: 15px 18px;
    font-size: 16px;
    transition: all 0.3s;
    background: #fff;
}

.form-input:focus,
.form-select:focus {
    outline: none;
    border-color: #3b77d1;
    box-shadow: 0 0 0 3px rgba(59, 119, 209, 0.1);
}

.form-select {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"><polyline points="6,9 12,15 18,9"></polyline></svg>');
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 16px;
    padding-right: 45px;
}

.btn-container {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-top: 30px;
}

.btn {
    padding: 15px 40px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #d68221;
    color: white;
}

.btn-primary:hover {
    background: #c27119;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #3b77d1;
    color: white;
}

.btn-secondary:hover {
    background: #2e5fa3;
    transform: translateY(-2px);
}

.vehicle-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 40px 0;
}

.vehicle-types li {
    background: white;
    border: 2px solid #e1e5e9;
    border-radius: 15px;
    padding: 25px 15px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.vehicle-types li:hover {
    border-color: #3b77d1;
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(59, 119, 209, 0.2);
}

.vehicle-types li.selected {
    border-color: #3b77d1;
    background: #f0f4ff;
}

.vehicle-types span {
    font-weight: 600;
    color: #333;
    font-size: 14px;
    margin-top: 10px;
}

@media (max-width: 1200px) {

    .nav-left,
    .nav-right {
        gap: 15px;
        font-size: 12px;
    }

    .randevu-btn {
        font-size: 12px;
        padding: 6px 14px;
    }
}

@media (max-width: 992px) {
    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .nav-left-section,
    .nav-right-section {
        order: 1;
    }

    .logo {
        position: static;
        transform: none;
        order: -1;
        margin-bottom: 10px;
    }

    .nav-left,
    .nav-right {
        justify-content: center;
        flex-wrap: wrap;
        gap: 12px;
        font-size: 11px;
    }

    .randevu-btn {
        font-size: 11px;
        padding: 5px 12px;
    }
}

@media (max-width: 768px) {
    .header {
        padding: 10px 0;
    }

    .header-content {
        gap: 10px;
        padding: 0 10px;
        flex-direction: row;
        justify-content: space-between;
    }

    .logo {
        position: static;
        transform: none;
        order: 0;
        margin: 0;
    }

    .logo img {
        width: 60px;
        height: 60px;
        padding: 4px;
    }

    .nav-left-section,
    .nav-right-section {
        display: none;
    }

    .mobile-menu {
        display: block;
        order: 1;
    }

    .mobile-nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #3b77d1;
        padding: 20px;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        z-index: 100;
    }

    .mobile-nav.show {
        display: block;
    }

    .mobile-nav ul {
        list-style: none;
        margin: 0;
        padding: 0;
        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    .mobile-nav a {
        color: white;
        text-decoration: none;
        padding: 10px;
        border-radius: 8px;
        display: block;
        text-align: center;
        transition: all 0.3s;
    }

    .mobile-nav a:hover {
        background: rgba(255, 255, 255, 0.15);
    }

    .form-section {
        margin: 0 15px;
        padding: 25px 15px;
        border-radius: 15px;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .form-title {
        font-size: 22px;
    }

    .form-subtitle {
        font-size: 14px;
    }

    .btn-container {
        margin-top: 25px;
    }

    .btn {
        padding: 12px 30px;
        font-size: 14px;
    }

    .vehicle-types {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .vehicle-types li {
        padding: 20px 10px;
        min-height: 100px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }

    .main-content {
        padding: 15px 0;
    }

    .form-section {
        margin: 0 10px;
        padding: 20px 12px;
        border-radius: 12px;
    }

    .logo img {
        width: 60px;
        height: 60px;
    }

    .form-title {
        font-size: 20px;
        line-height: 1.3;
    }

    .form-subtitle {
        font-size: 13px;
        line-height: 1.4;
    }

    .form-input,
    .form-select {
        padding: 12px 15px;
        font-size: 14px;
    }

    .btn {
        padding: 10px 25px;
        font-size: 13px;
    }

    .vehicle-types {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .vehicle-types li {
        padding: 15px 8px;
        min-height: 80px;
    }
}

.mobile-menu {
    display: none;
    background: white;
    color: #3b77d1;
    border: none;
    padding: 8px;
    border-radius: 8px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu {
        display: block;
    }
}

input::placeholder {
    color: #999;
}

select:invalid {
    color: #999;
}

select option {
    color: #333;
}

.loading {
    display: none;
    width: 20px;
    height: 20px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #3b77d1;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.error {
    color: #e74c3c;
    font-size: 14px;
    margin-top: 5px;
}

.success {
    color: #27ae60;
    font-size: 14px;
    margin-top: 5px;
}

.form-input.error,
.form-select.error {
    border-color: #e74c3c;
}

.form-input.success,
.form-select.success {
    border-color: #27ae60;
}

.sidebar {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.sidebar h3 {
    color: #3b77d1;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.sidebar li {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

.sidebar li:last-child {
    border-bottom: none;
}

.sidebar a {
    color: #666;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.sidebar a:hover {
    color: #3b77d1;
}

.breadcrumb {
    background: rgba(255, 255, 255, 0.1);
    padding: 15px 0;
    margin-bottom: 30px;
}

.breadcrumb ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: white;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: white;
}

.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-title {
    color: #3b77d1;
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-subtitle {
    color: #666;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.card-header {
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.card-title {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin: 0;
}

.alert {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    border-left: 4px solid;
}

.alert-info {
    background: #e8f4f8;
    border-color: #3b77d1;
    color: #2e5fa3;
}

.alert-warning {
    background: #fff8e1;
    border-color: #d68221;
    color: #c27119;
}

.alert-success {
    background: #e8f5e8;
    border-color: #27ae60;
    color: #1e8449;
}

.alert-error {
    background: #fdeaea;
    border-color: #e74c3c;
    color: #c0392b;
}

.progress {
    background: #f0f0f0;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin: 15px 0;
}

.progress-bar {
    background: #3b77d1;
    height: 100%;
    transition: width 0.3s;
}

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    position: relative;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-title {
    color: #333;
    font-size: 20px;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #999;
    padding: 0;
    width: 30px;
    height: 30px;
}

.modal-close:hover {
    color: #333;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    text-align: left;
    padding: 12px 15px;
    border-bottom: 1px solid #f0f0f0;
}

.table th {
    background: #f8f9fa;
    font-weight: 600;
    color: #333;
}

.table tr:hover {
    background: #f8f9fa;
}

.badge {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-primary {
    background: #3b77d1;
    color: white;
}

.badge-success {
    background: #27ae60;
    color: white;
}

.badge-warning {
    background: #d68221;
    color: white;
}

.badge-danger {
    background: #e74c3c;
    color: white;
}

.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-left {
    text-align: left;
}

.mb-0 {
    margin-bottom: 0;
}

.mb-1 {
    margin-bottom: 5px;
}

.mb-2 {
    margin-bottom: 10px;
}

.mb-3 {
    margin-bottom: 15px;
}

.mb-4 {
    margin-bottom: 20px;
}

.mb-5 {
    margin-bottom: 25px;
}

.mt-0 {
    margin-top: 0;
}

.mt-1 {
    margin-top: 5px;
}

.mt-2 {
    margin-top: 10px;
}

.mt-3 {
    margin-top: 15px;
}

.mt-4 {
    margin-top: 20px;
}

.mt-5 {
    margin-top: 25px;
}

.p-0 {
    padding: 0;
}

.p-1 {
    padding: 5px;
}

.p-2 {
    padding: 10px;
}

.p-3 {
    padding: 15px;
}

.p-4 {
    padding: 20px;
}

.p-5 {
    padding: 25px;
}

.hidden {
    display: none;
}

.block {
    display: block;
}

.flex {
    display: flex;
}

.inline-block {
    display: inline-block;
}

.w-full {
    width: 100%;
}

.h-full {
    height: 100%;
}

.rounded {
    border-radius: 8px;
}

.rounded-lg {
    border-radius: 12px;
}

.rounded-xl {
    border-radius: 15px;
}

.rounded-full {
    border-radius: 50%;
}

.shadow {
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shadow-lg {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.transition {
    transition: all 0.3s;
}

:root {
    /* Brand Colors */
    --tuvturk-blue: #0047ba;
    /* Deeper, more trustworthy blue */
    --tuvturk-blue-hover: #00358a;
    --tuvturk-red: #e31e24;
    /* TUV SUD Red */
    --tuvturk-red-hover: #c41217;
    --tuvturk-orange: #f58220;

    /* Neutrals */
    --bg-body: #f8fafc;
    /* Very light blue-grey background */
    --bg-card: #ffffff;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --border-color: #e2e8f0;

    /* Effects */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-premium: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);

    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
}

body {
    background-color: var(--bg-body);
    font-family: 'Inter', system-ui, -apple-system, sans-serif;
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
}

/* Premium Card Style */
.premium-card {
    background: var(--bg-card);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: transform 0.2s, box-shadow 0.2s;
}

.premium-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

/* Modern Inputs */
input[type="text"],
input[type="tel"],
input[type="password"],
input[type="email"],
select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-size: 15px;
    transition: all 0.2s;
    background: #fff;
    color: var(--text-primary);
}

input:focus,
select:focus {
    outline: none;
    border-color: var(--tuvturk-blue);
    box-shadow: 0 0 0 3px rgba(0, 71, 186, 0.1);
}

/* Modern Buttons */
.btn-primary {
    background: linear-gradient(135deg, var(--tuvturk-blue) 0%, #0060fa 100%);
    color: white;
    border: none;
    padding: 14px 24px;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    transition: all 0.2s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--tuvturk-blue-hover) 0%, #0047ba 100%);
    box-shadow: var(--shadow-md);
    transform: translateY(-1px);
}

/* Payment Page Styles */
.payment-form {
    background: white;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-premium);
    padding: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    margin: 0 auto;
    max-width: 900px;
}

.payment-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 40px;
    margin-top: 30px;
}

.summary-card {
    background: #f8fafc;
    padding: 25px;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.summary-card h3 {
    margin-top: 0;
    color: #3b77d1;
    font-size: 18px;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 14px;
    color: #666;
}

.summary-item.total {
    border-top: 1px solid #e2e8f0;
    padding-top: 15px;
    margin-top: 15px;
    font-size: 16px;
    color: #333;
}

.price {
    color: #d68221;
    font-size: 20px;
}

.secure-badge {
    margin-top: 20px;
    background: #e6fffa;
    color: #047481;
    padding: 12px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.date-inputs {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.input-wrapper {
    position: relative;
}

.input-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
}

.input-wrapper .form-input {
    padding-left: 45px;
}

.submit-btn {
    width: 100%;
    margin-top: 20px;
    justify-content: center;
}

@media (max-width: 768px) {
    .payment-grid {
        grid-template-columns: 1fr;
    }

    .payment-form {
        padding: 20px;
        margin: 0 10px;
    }
}