/* Oxford Test Practice - Sınav Başvuru Sistemi CSS */

:root {
    --primary: #011E41;
    --primary-light: #0a3a6b;
    --primary-cyan: #0891b2;
    --advanced: #059669;
    --advanced-light: #10b981;
    --orange: #f97316;
    --success: #22c55e;
    --error: #ef4444;
    --warning: #f59e0b;
    --gray-900: #0f172a;
    --gray-800: #1e293b;
    --gray-700: #334155;
    --gray-600: #475569;
    --gray-500: #64748b;
    --gray-400: #94a3b8;
    --gray-300: #cbd5e1;
    --gray-200: #e2e8f0;
    --gray-100: #f1f5f9;
    --gray-50: #f8fafc;
    --white: #ffffff;
    --font-family: 'Inter', sans-serif;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1);
    --radius: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
}

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

body {
    font-family: var(--font-family);
    background: var(--gray-50);
    color: var(--gray-800);
    line-height: 1.6;
    min-height: 100vh;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* Header */
.exam-header {
    background: var(--white);
    border-bottom: 2px solid var(--primary);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.exam-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary);
    font-weight: 700;
    font-size: 1.25rem;
}

.logo-icon {
    width: 42px;
    height: 42px;
    background: transparent;
    border: 2px solid var(--primary);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--primary);
}

.logo img { height: 40px; }

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
}

.breadcrumb a { color: var(--gray-500); text-decoration: none; }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .separator { color: var(--gray-400); }
.breadcrumb .current { color: var(--primary); font-weight: 500; }

/* Footer */
.exam-footer {
    background: var(--primary);
    color: rgba(255,255,255,0.7);
    padding: 24px 0;
    text-align: center;
    font-size: 0.875rem;
    margin-top: auto;
}

.oxford-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.oxford-main {
    flex: 1;
    padding: 40px 0;
}

/* Page Header */
.page-header {
    text-align: center;
    margin-bottom: 40px;
}

.page-header h1 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.page-header p {
    color: var(--gray-600);
    font-size: 1.125rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-size: 0.9375rem;
    font-weight: 600;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
}

.btn svg {
    width: 20px;
    height: 20px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: var(--primary-light);
}

.btn-outline {
    background: var(--white);
    color: var(--primary);
    border-color: var(--primary);
}

.btn-outline:hover {
    background: rgba(1, 30, 65, 0.05);
}

/* Exam Level Cards */
.exam-levels-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.exam-level-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-xl);
    padding: 32px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
}

.exam-level-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.exam-level-card.advanced:hover {
    border-color: var(--advanced);
}

.level-badge {
    display: inline-block;
    padding: 6px 16px;
    background: var(--primary);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 16px;
}

.level-badge.advanced {
    background: var(--advanced);
}

.level-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 16px;
    color: var(--primary);
}

.exam-level-card.advanced .level-icon {
    color: var(--advanced);
}

.exam-level-card h2 {
    font-size: 1.375rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.level-description {
    color: var(--gray-500);
    font-size: 0.9375rem;
    margin-bottom: 24px;
}

.price-info {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 24px;
}

.price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
}

.price-row:not(:last-child) {
    border-bottom: 1px solid var(--gray-200);
}

.price-row span {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.price-row strong {
    color: var(--primary);
    font-size: 1.125rem;
}

.exam-level-card.advanced .price-row strong {
    color: var(--advanced);
}

/* Modules Grid */
.modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.module-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    text-align: center;
    transition: all 0.3s;
}

.module-card:hover {
    border-color: var(--primary);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.module-card.advanced:hover {
    border-color: var(--advanced);
}

.module-header {
    margin-bottom: 16px;
}

.module-title {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
}

.module-card.advanced .module-title {
    color: var(--advanced);
}

.module-title-underline {
    width: 40px;
    height: 3px;
    background: var(--primary);
    margin: 8px auto 0;
    border-radius: 2px;
}

.module-card.advanced .module-title-underline {
    background: var(--advanced);
}

.module-icon-wrapper {
    margin-bottom: 16px;
}

.module-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius);
    margin: 0 auto;
}

.advanced-label {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    background: var(--advanced);
    color: var(--white);
    border-radius: 100px;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
}

.module-description {
    color: var(--gray-600);
    font-size: 0.8125rem;
    margin-bottom: 12px;
    min-height: 36px;
}

.module-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.module-card.advanced .module-price {
    color: var(--advanced);
}

.module-btn {
    display: block;
    width: 100%;
    padding: 12px;
    margin-top: 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.module-btn:hover {
    background: var(--primary-light);
}

.module-card.advanced .module-btn {
    background: var(--advanced);
}

.module-card.advanced .module-btn:hover {
    background: var(--advanced-light);
}

/* Tax Info Box */
.tax-info-box {
    background: rgba(1, 30, 65, 0.05);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 16px 24px;
    margin-top: 32px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.tax-info-box p {
    color: var(--gray-700);
    font-size: 0.9375rem;
}

/* Progress Bar */
.progress-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.progress-step {
    display: flex;
    align-items: center;
    gap: 8px;
}

.progress-step .step-num {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 600;
    background: var(--gray-200);
    color: var(--gray-500);
}

.progress-step.completed .step-num {
    background: var(--success);
    color: var(--white);
}

.progress-step.active .step-num {
    background: var(--primary);
    color: var(--white);
}

.progress-step .step-text {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.progress-step.completed .step-text,
.progress-step.active .step-text {
    color: var(--gray-800);
    font-weight: 500;
}

.progress-line {
    width: 40px;
    height: 2px;
    background: var(--gray-200);
}

.progress-line.completed {
    background: var(--success);
}

/* Page Actions */
.page-actions {
    display: flex;
    justify-content: center;
    margin-top: 32px;
}

/* Comparison Table */
.comparison-section {
    margin-top: 48px;
}

.comparison-section h3 {
    text-align: center;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 24px;
}

.comparison-table-wrapper {
    overflow-x: auto;
}

.comparison-table {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-collapse: collapse;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.comparison-table th,
.comparison-table td {
    padding: 16px 20px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

.comparison-table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.875rem;
}

.comparison-table td {
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.comparison-table tr:last-child td {
    border-bottom: none;
}

.comparison-table tr:hover td {
    background: var(--gray-50);
}

/* Info Box */
.info-box {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: rgba(1, 30, 65, 0.05);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    margin-top: 32px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.info-icon {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.info-content p {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

/* Alert */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius);
    margin-bottom: 24px;
}

.alert-error {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

.alert-success {
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    color: #065f46;
}

/* Selection Layout (Centers Page) */
.selection-layout {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 32px;
    align-items: start;
}

.centers-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 2px solid var(--gray-200);
    position: sticky;
    top: 100px;
}

.centers-panel h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.centers-panel h3 svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

.centers-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    max-height: 500px;
    overflow-y: auto;
}

.center-option {
    padding: 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    cursor: pointer;
    transition: all 0.2s;
}

.center-option:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.center-option.selected {
    border-color: var(--primary);
    background: rgba(1, 30, 65, 0.05);
}

.center-option-header {
    display: flex;
    align-items: center;
    gap: 12px;
}

.center-radio {
    width: 20px;
    height: 20px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.2s;
}

.center-option.selected .center-radio {
    border-color: var(--primary);
}

.center-option.selected .center-radio::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
}

.center-option-info h4 {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.center-option-info p {
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin: 0;
}

.center-slots-count {
    font-size: 0.75rem;
    color: var(--gray-500);
    margin-top: 8px;
    padding-top: 8px;
    border-top: 1px solid var(--gray-100);
}

.slots-panel {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 2px solid var(--gray-200);
    min-height: 400px;
}

.slots-panel h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.slots-panel h3 svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
}

.slots-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    color: var(--gray-500);
}

.slots-placeholder svg {
    width: 64px;
    height: 64px;
    color: var(--gray-300);
    margin-bottom: 16px;
}

.slots-placeholder h4 {
    font-size: 1.125rem;
    color: var(--gray-600);
    margin-bottom: 8px;
}

.slots-container {
    display: none;
}

.slots-container.active {
    display: block;
}

.date-group {
    margin-bottom: 24px;
}

.date-group:last-child {
    margin-bottom: 0;
}

.date-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 12px;
}

.date-icon {
    width: 44px;
    height: 44px;
    background: var(--primary);
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: var(--white);
}

.date-icon .day-num {
    font-size: 1.125rem;
    font-weight: 700;
    line-height: 1;
}

.date-icon .month-abbr {
    font-size: 0.625rem;
    text-transform: uppercase;
    font-weight: 600;
}

.date-info .day-name {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
}

.date-info .full-date {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.time-slots {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}

.time-slot {
    padding: 14px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
}

.time-slot:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.time-slot.selected {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.time-slot .time {
    font-size: 1.125rem;
    font-weight: 600;
    display: block;
    margin-bottom: 4px;
}

.time-slot .availability {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.time-slot.selected .availability {
    color: rgba(255,255,255,0.8);
}

.selection-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.selected-summary {
    display: none;
    background: rgba(1, 30, 65, 0.05);
    border: 1px solid var(--primary);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 20px;
}

.selected-summary.active {
    display: block;
}

.selected-summary h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 8px;
}

.selected-summary p {
    font-size: 0.9375rem;
    color: var(--gray-700);
    margin: 0;
}

.selected-summary p strong {
    color: var(--primary);
}

.form-actions {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.btn-continue {
    background: var(--primary);
    color: var(--white);
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 600;
}

.btn-continue:hover {
    background: var(--primary-light);
}

.btn-continue:disabled {
    background: var(--gray-300);
    cursor: not-allowed;
}

.no-centers-message {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-300);
}

.no-centers-message svg {
    width: 64px;
    height: 64px;
    color: var(--gray-400);
    margin-bottom: 16px;
}

.no-centers-message h3 {
    font-size: 1.25rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.no-centers-message p {
    color: var(--gray-500);
}

/* Application Form */
.application-layout {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    align-items: start;
}

.form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 2px solid var(--gray-200);
}

.application-form {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.form-group-title {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary);
    margin-top: 8px;
}

.step-number {
    width: 28px;
    height: 28px;
    background: var(--primary);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
    font-weight: 700;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
}

.form-group label .required {
    color: var(--error);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    font-size: 0.9375rem;
    color: var(--gray-800);
    transition: border-color 0.2s;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-top: 2px;
    cursor: pointer;
}

.checkbox-group label {
    font-size: 0.875rem;
    color: var(--gray-600);
    cursor: pointer;
}

.checkbox-group a {
    color: var(--primary);
    text-decoration: underline;
}

/* Summary Card */
.summary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 2px solid var(--primary);
    position: sticky;
    top: 100px;
}

.summary-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.summary-item:last-of-type {
    border-bottom: none;
}

.summary-item .label {
    color: var(--gray-500);
    font-size: 0.875rem;
}

.summary-item .value {
    font-weight: 600;
    color: var(--gray-800);
    font-size: 0.9375rem;
    text-align: right;
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 2px solid var(--primary);
}

.summary-total .label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.summary-total .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.summary-btn {
    display: block;
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.summary-btn:hover {
    background: var(--primary-light);
}

/* Exam Info Card */
.exam-info-card {
    background: rgba(1, 30, 65, 0.05);
    border: 1px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin-bottom: 24px;
}

.exam-info-card h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.exam-info-card h4 svg {
    width: 18px;
    height: 18px;
    color: var(--primary);
}

.exam-info-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.exam-info-item {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.exam-info-item .label {
    font-size: 0.75rem;
    color: var(--gray-500);
}

.exam-info-item .value {
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--gray-800);
}

/* Payment Page */
.payment-layout {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 32px;
    align-items: start;
}

.payment-form-section {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 2px solid var(--gray-200);
}

.form-header {
    margin-bottom: 24px;
}

.form-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 8px;
}

.form-header p {
    color: var(--gray-600);
}

.payment-methods {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
}

.payment-method-card {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-method-card:hover {
    border-color: var(--primary);
    background: var(--gray-50);
}

.payment-method-card.selected {
    border-color: var(--primary);
    background: rgba(1, 30, 65, 0.05);
}

.payment-method-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}

.payment-method-card input[type="radio"] {
    display: none;
}

.payment-method-icon {
    width: 48px;
    height: 48px;
    background: var(--gray-100);
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.payment-method-card.selected .payment-method-icon {
    background: var(--primary);
    color: var(--white);
}

.payment-method-info {
    flex: 1;
}

.payment-method-info h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
    color: var(--gray-900);
}

.payment-method-info p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.payment-method-check {
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.payment-method-card.selected .payment-method-check {
    border-color: var(--primary);
    background: var(--primary);
    color: var(--white);
}

.bank-info-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 16px;
    display: none;
}

.bank-info-box.show {
    display: block;
}

.bank-info-box h5 {
    font-size: 0.875rem;
    font-weight: 600;
    color: #92400e;
    margin-bottom: 8px;
}

.bank-info-box p {
    font-size: 0.8125rem;
    color: #78350f;
    margin: 0;
    line-height: 1.5;
}

.bank-details {
    background: var(--white);
    border-radius: var(--radius);
    padding: 12px;
    margin: 12px 0;
}

.bank-details p {
    margin: 4px 0;
}

.bank-warning {
    margin-top: 12px;
    font-size: 0.8125rem;
}

.price-info {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.price-info .tl-price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
}

.btn-submit-payment {
    width: 100%;
    padding: 16px 24px;
    font-size: 1.125rem;
    font-weight: 600;
    margin-top: 16px;
}

/* Order Summary */
.order-summary-section {
    position: sticky;
    top: 100px;
}

.order-summary-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 2px solid var(--primary);
}

.order-summary-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--gray-200);
}

.order-item {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    padding: 12px 0;
}

.item-details {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.item-details strong {
    font-size: 0.9375rem;
    color: var(--gray-800);
}

.item-details span {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.item-price {
    font-weight: 600;
    color: var(--gray-800);
    text-align: right;
}

.order-divider {
    height: 1px;
    background: var(--gray-200);
    margin: 12px 0;
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.875rem;
}

.detail-row span {
    color: var(--gray-500);
}

.detail-row strong {
    color: var(--gray-800);
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 2px solid var(--primary);
}

.order-total span {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.order-total strong {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.tax-note {
    margin-top: 16px;
    padding: 12px;
    background: var(--gray-50);
    border-radius: var(--radius);
    font-size: 0.8125rem;
    color: var(--gray-600);
    text-align: center;
}

/* Success Page */
.result-card {
    max-width: 600px;
    margin: 40px auto;
    background: var(--white);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    padding: 40px;
    text-align: center;
    border: 2px solid var(--success);
}

.result-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.result-icon svg {
    color: var(--success);
}

.result-card h1 {
    font-size: 1.75rem;
    margin-bottom: 12px;
    color: var(--primary);
}

.result-card .subtitle {
    color: var(--gray-600);
    margin-bottom: 24px;
}

.payment-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
    background: #fef3c7;
    color: #92400e;
}

.details-box {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 20px;
    margin: 24px 0;
    text-align: left;
}

.details-box .detail-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--gray-200);
}

.details-box .detail-row:last-child {
    border-bottom: none;
}

.details-box .label {
    color: var(--gray-600);
    font-size: 0.875rem;
}

.details-box .value {
    font-weight: 600;
    color: var(--gray-900);
}

.details-box .value.code {
    font-family: monospace;
    background: var(--primary);
    color: var(--white);
    padding: 4px 12px;
    border-radius: 6px;
}

.action-buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    margin-top: 24px;
}

/* Error Alert */
.error-alert {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.error-alert .icon {
    color: var(--error);
    font-size: 20px;
}

.error-alert p {
    color: #991b1b;
    margin: 0;
    font-size: 0.875rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .selection-layout {
        grid-template-columns: 1fr;
    }
    
    .centers-panel {
        position: static;
    }
    
    .centers-list {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
        max-height: none;
    }
    
    .application-layout,
    .payment-layout {
        grid-template-columns: 1fr;
    }
    
    .summary-card,
    .order-summary-section {
        position: static;
    }
}

@media (max-width: 768px) {
    .exam-levels-container {
        grid-template-columns: 1fr;
    }
    
    .modules-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .progress-step .step-text {
        display: none;
    }
    
    .time-slots {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
        justify-content: center;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .exam-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .modules-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SUCCESS PAGE STYLES
   ============================================ */
.success-page {
    max-width: 700px;
    margin: 40px auto;
    text-align: center;
    padding: 20px;
}

.success-icon {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.success-icon.completed {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.success-icon.pending {
    background: rgba(249, 115, 22, 0.15);
    color: var(--orange);
}

.success-icon svg {
    width: 48px;
    height: 48px;
}

.success-page h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 16px;
}

.success-message {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 32px;
    line-height: 1.7;
}

.bank-info-box {
    background: var(--gray-50);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.bank-info-box h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.bank-account-info p {
    margin: 8px 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.bank-warning {
    background: rgba(249, 115, 22, 0.1);
    border-radius: var(--radius);
    padding: 12px 16px;
    margin-top: 16px;
}

.bank-warning p {
    margin: 4px 0;
    font-size: 0.875rem;
    color: var(--orange);
}

.application-details-card {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.application-code-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--gray-50);
    border-radius: var(--radius);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.application-code-box .label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.application-code-box .code {
    font-family: monospace;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--white);
    padding: 8px 16px;
    border-radius: var(--radius);
    border: 2px solid var(--primary);
}

.copy-code-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: background 0.2s;
    margin-left: auto;
}

.copy-code-btn:hover {
    background: var(--primary-light);
}

.details-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.detail-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.detail-label {
    font-size: 0.75rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.detail-value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-800);
}

.next-steps {
    background: var(--gray-50);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.next-steps h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 16px;
}

.next-steps ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.next-steps li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.9375rem;
    color: var(--gray-700);
    border-bottom: 1px solid var(--gray-200);
}

.next-steps li:last-child {
    border-bottom: none;
}

.next-steps li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: 600;
}

.next-steps a {
    color: var(--primary);
    text-decoration: underline;
}

.success-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ============================================
   FAIL PAGE STYLES
   ============================================ */
.fail-page {
    max-width: 600px;
    margin: 40px auto;
    text-align: center;
    padding: 20px;
}

.fail-icon {
    width: 80px;
    height: 80px;
    background: rgba(239, 68, 68, 0.15);
    color: var(--error);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.fail-icon svg {
    width: 48px;
    height: 48px;
}

.fail-page h1 {
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--error);
    margin-bottom: 16px;
}

.fail-message {
    font-size: 1rem;
    color: var(--gray-600);
    margin-bottom: 24px;
}

.fail-details {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 16px;
    margin-bottom: 24px;
    text-align: left;
}

.fail-details p {
    margin: 8px 0;
    font-size: 0.9375rem;
    color: var(--gray-700);
}

.fail-reasons {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 32px;
    text-align: left;
}

.fail-reasons h3 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 16px;
}

.fail-reasons ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.fail-reasons li {
    padding: 8px 0 8px 24px;
    position: relative;
    font-size: 0.9375rem;
    color: var(--gray-600);
    border-bottom: 1px solid var(--gray-100);
}

.fail-reasons li:last-child {
    border-bottom: none;
}

.fail-reasons li::before {
    content: '•';
    position: absolute;
    left: 8px;
    color: var(--error);
}

.fail-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.fail-contact {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.fail-contact a {
    color: var(--primary);
    text-decoration: underline;
}

/* Payment Options */
.payment-options {
    display: flex;
    flex-direction: column;
    gap: 16px;
    flex: 1;
}

.payment-option {
    background: var(--white);
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 20px;
    cursor: pointer;
    transition: all 0.2s;
}

.payment-option:hover {
    border-color: var(--primary);
}

.payment-option.selected {
    border-color: var(--primary);
    background: rgba(1, 30, 65, 0.03);
}

.payment-option-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.payment-radio {
    width: 24px;
    height: 24px;
    border: 2px solid var(--gray-300);
    border-radius: 50%;
    position: relative;
    flex-shrink: 0;
}

.payment-option.selected .payment-radio {
    border-color: var(--primary);
}

.payment-option.selected .payment-radio::after {
    content: '';
    width: 14px;
    height: 14px;
    background: var(--primary);
    border-radius: 50%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.payment-icon svg {
    color: var(--gray-400);
}

.payment-option.selected .payment-icon svg {
    color: var(--primary);
}

.payment-info h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.payment-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.payment-details {
    display: none;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.payment-option.selected .payment-details {
    display: block;
}

.payment-badges {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}

.badge {
    padding: 6px 12px;
    border-radius: 100px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-secure {
    background: rgba(34, 197, 94, 0.15);
    color: var(--success);
}

.badge-instant {
    background: rgba(8, 145, 178, 0.15);
    color: var(--primary-cyan);
}

.card-logos {
    display: flex;
    gap: 12px;
    margin-bottom: 12px;
}

.card-logos img {
    height: 24px;
    opacity: 0.7;
}

.payment-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.bank-accounts {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.bank-account {
    background: var(--gray-50);
    border-radius: var(--radius);
    padding: 16px;
}

.bank-name {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
}

.bank-detail {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 8px 0;
    font-size: 0.875rem;
}

.bank-detail .label {
    color: var(--gray-500);
    min-width: 100px;
}

.bank-detail .value {
    color: var(--gray-800);
    font-weight: 500;
}

.bank-detail .value.iban {
    font-family: monospace;
    font-size: 0.9375rem;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
    opacity: 0.6;
    transition: opacity 0.2s;
}

.copy-btn:hover {
    opacity: 1;
}

.transfer-note {
    background: rgba(249, 115, 22, 0.1);
    border-radius: var(--radius);
    padding: 16px;
    margin-top: 16px;
}

.transfer-note p {
    font-size: 0.8125rem;
    color: var(--gray-700);
    margin: 4px 0;
}

.payment-summary {
    background: var(--white);
    border: 2px solid var(--primary);
    border-radius: var(--radius-lg);
    padding: 24px;
    align-self: start;
    position: sticky;
    top: 100px;
}

.payment-summary h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
}

.summary-details {
    margin-bottom: 20px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--gray-100);
}

.summary-row:last-child {
    border-bottom: none;
}

.summary-row .label {
    font-size: 0.875rem;
    color: var(--gray-500);
}

.summary-row .value {
    font-size: 0.9375rem;
    font-weight: 500;
    color: var(--gray-800);
}

.summary-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 0;
    border-top: 2px solid var(--primary);
    margin-top: 12px;
}

.summary-total .label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--gray-800);
}

.summary-total .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.summary-gbp {
    text-align: right;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-bottom: 20px;
}

.btn-pay {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px 24px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: var(--radius);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.btn-pay:hover:not(:disabled) {
    background: var(--primary-light);
}

.btn-pay:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.secure-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.8125rem;
    color: var(--gray-500);
    margin-top: 16px;
}

.secure-notice svg {
    color: var(--success);
}

@media (max-width: 768px) {
    .details-grid {
        grid-template-columns: 1fr;
    }
    
    .application-code-box {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .copy-code-btn {
        margin-left: 0;
    }
}
