﻿/* =========================================
   BAŞMAN VAKFI - BURS BAŞVURU PORTALI
   ========================================= */

/* ---------- RESET ---------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --navy: #13263b;
    --navy-light: #1d354d;
    --gold: #b58142;
    --gold-dark: #93652e;
    --cream: #f7f3ed;
    --white: #ffffff;
    --text: #273444;
    --muted: #6d737b;
    --border: #e4ded5;
    --shadow: 0 10px 35px rgba(19, 38, 59, 0.08);
    --shadow-hover: 0 18px 45px rgba(19, 38, 59, 0.15);
    --radius: 18px;
    --radius-sm: 12px;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", "Poppins", Arial, sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
}

/* ---------- GENEL ---------- */

.container {
    width: min(1440px, 92%);
    margin: 0 auto;
}

.section {
    padding: 70px 0;
}

a {
    text-decoration: none;
    color: inherit;
}

button {
    font-family: inherit;
    border: none;
    cursor: pointer;
}


/* =========================================
   HEADER
   ========================================= */

.header {
    background: linear-gradient( 180deg, rgba(255, 255, 255, 0.75), rgba(247, 243, 237, 0.9) );
    padding: 25px 0;
}

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

/* Logo */

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 75px;
    height: 75px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    border: 3px solid white;
    box-shadow: var(--shadow);
}

.logo-text {
    border-left: 1px solid #aaa;
    padding-left: 18px;
}

.logo-small {
    display: block;
    font-size: 10px;
    letter-spacing: 5px;
    margin-bottom: 3px;
}

.logo-name {
    display: block;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo-vakfi {
    display: block;
    font-size: 20px;
    letter-spacing: 13px;
}

/* Navigation */

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
    list-style: none;
}

    .nav-menu a {
        color: var(--text);
        font-size: 14px;
        font-weight: 500;
        transition: 0.3s ease;
    }

        .nav-menu a:hover,
        .nav-menu a.active {
            color: var(--gold);
        }

.login-btn {
    background: var(--navy);
    color: white;
    padding: 12px 24px;
    border-radius: 7px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: 0.3s ease;
}

    .login-btn:hover {
        background: var(--gold);
        transform: translateY(-2px);
    }


/* =========================================
   HERO
   ========================================= */

.hero {
    padding: 35px 0 50px;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 45px;
    align-items: center;
}

.hero-content h1 {
    font-size: clamp(32px, 4vw, 52px);
    line-height: 1.15;
    color: var(--navy);
    margin-bottom: 15px;
}

.hero-content p {
    color: var(--muted);
    font-size: 17px;
    max-width: 650px;
}

.hero-content .highlight {
    color: var(--gold);
    font-weight: 700;
}

/* Hero Görsel */

.hero-image {
    position: relative;
    min-height: 240px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .hero-image img {
        width: 100%;
        max-width: 430px;
        object-fit: contain;
    }

/* Bilgi Kutuları */

.hero-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    background: rgba(255, 255, 255, 0.8);
    border-radius: var(--radius);
    padding: 25px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.info-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px 20px;
    border-right: 1px solid var(--border);
}

    .info-item:last-child {
        border-right: none;
    }

.info-icon {
    width: 55px;
    height: 55px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-size: 24px;
    flex-shrink: 0;
}

.info-item small {
    display: block;
    color: var(--muted);
    font-size: 11px;
}

.info-item strong {
    display: block;
    color: var(--navy);
    font-size: 18px;
}


/* =========================================
   BAŞVURU TÜRÜ
   ========================================= */

.application-section {
    padding: 25px 0 70px;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

    .section-title h2 {
        color: var(--navy);
        font-size: clamp(28px, 3vw, 38px);
    }

    .section-title p {
        color: var(--muted);
        margin-top: 8px;
    }

/* Kart Grid */
.application-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
}


/* =========================================
   BAŞVURU KARTI
   ========================================= */

.application-card {
    background: rgba(255, 255, 255, 0.85);
    border-radius: var(--radius);
    padding: 32px 24px 22px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    min-height: 470px;
    border: 1px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

    .application-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
    }

/* Kart Icon */

.card-icon {
    width: 82px;
    height: 82px;
    margin: 0 auto 22px;
    background: var(--navy);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 34px;
    box-shadow: 0 8px 25px rgba(19, 38, 59, 0.2);
}

.application-card.gold .card-icon {
    background: linear-gradient( 135deg, var(--gold), var(--gold-dark) );
}

/* Başlık */

.application-card h3 {
    text-align: center;
    color: var(--navy);
    font-size: 21px;
    margin-bottom: 5px;
}

.application-card.gold h3 {
    color: var(--gold-dark);
}

.card-subtitle {
    text-align: center;
    color: var(--gold-dark);
    font-size: 13px;
    min-height: 40px;
    margin-bottom: 18px;
}

.application-card > p {
    text-align: center;
    color: var(--muted);
    font-size: 14px;
    min-height: 65px;
    margin-bottom: 20px;
}


/* =========================================
   KİMLER BAŞVURABİLİR
   ========================================= */

.eligibility-box {
    background: linear-gradient( 180deg, #fafafa, #f4f1ec );
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 18px;
    margin-top: auto;
    margin-bottom: 18px;
}

    .eligibility-box h4 {
        text-align: center;
        font-size: 14px;
        color: var(--navy);
        margin-bottom: 8px;
    }

    .eligibility-box > p {
        text-align: center;
        font-size: 12px;
        color: var(--muted);
        margin-bottom: 12px;
    }

.requirement-list {
    list-style: none;
}

    .requirement-list li {
        display: flex;
        align-items: flex-start;
        gap: 8px;
        font-size: 12px;
        color: #555;
        padding: 6px 0;
    }

        .requirement-list li i {
            color: var(--gold);
            margin-top: 3px;
        }


/* =========================================
   BUTTON
   ========================================= */

.apply-btn {
    width: 100%;
    padding: 14px 20px;
    background: var(--navy);
    color: white;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    transition: 0.3s ease;
}

    .apply-btn:hover {
        background: var(--navy-light);
        transform: translateY(-2px);
    }

.application-card.gold .apply-btn {
    background: var(--gold);
}

    .application-card.gold .apply-btn:hover {
        background: var(--gold-dark);
    }


/* =========================================
   BAŞVURU SÜRECİ
   ========================================= */

.process-section {
    padding-bottom: 80px;
}

.process-wrapper {
    background: white;
    border-radius: var(--radius);
    padding: 30px 25px;
    box-shadow: var(--shadow);
}

.process-container {
    display: grid;
    grid-template-columns: 0.8fr repeat(5, 1fr);
    gap: 20px;
    align-items: center;
}

.process-intro {
    border-right: 1px solid var(--border);
    padding-right: 20px;
}

    .process-intro h3 {
        color: var(--navy);
        font-size: 18px;
        margin-bottom: 7px;
    }

    .process-intro p {
        color: var(--muted);
        font-size: 13px;
    }

.process-item {
    display: flex;
    align-items: center;
    gap: 12px;
    position: relative;
}

.process-number {
    position: absolute;
    top: -8px;
    left: 48px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--navy);
    color: white;
    font-size: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-icon {
    width: 65px;
    height: 65px;
    border: 1px solid #ccd1d5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy);
    font-size: 25px;
    flex-shrink: 0;
}

.process-text h4 {
    font-size: 12px;
    color: var(--navy);
    margin-bottom: 5px;
}

.process-text p {
    font-size: 11px;
    color: var(--muted);
}

.process-arrow {
    color: var(--gold);
    font-size: 25px;
}


/* =========================================
   FOOTER
   ========================================= */

.footer {
    position: relative;
    background: var(--navy);
    color: white;
    padding: 55px 0 35px;
    overflow: hidden;
}

    .footer::before {
        content: "";
        position: absolute;
        top: -35px;
        left: -5%;
        width: 110%;
        height: 70px;
        background: var(--cream);
        border-radius: 0 0 50% 50%;
    }

.footer-content {
    position: relative;
    padding-top: 25px;
    display: grid;
    grid-template-columns: 1.3fr repeat(3, 1fr) 1.2fr;
    gap: 30px;
    align-items: center;
}

.footer-slogan {
    font-size: 22px;
    font-style: italic;
    letter-spacing: 1px;
}

    .footer-slogan span {
        color: var(--gold);
    }

.footer-contact {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-contact-icon {
    width: 45px;
    height: 45px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}

.footer-contact small {
    display: block;
    color: #b8c0c8;
    font-size: 10px;
}

.footer-contact strong {
    font-size: 13px;
}

/* Toplam Burs */

.total-scholarship {
    border: 1px solid var(--gold);
    border-radius: var(--radius-sm);
    padding: 15px 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.total-icon {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: linear-gradient( 135deg, var(--gold), var(--gold-dark) );
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 25px;
}

.total-scholarship small {
    color: #b8c0c8;
    display: block;
}

.total-scholarship strong {
    display: block;
    font-size: 24px;
}


/* =========================================
   MOBİL MENÜ
   ========================================= */

.mobile-menu-btn {
    display: none;
    background: transparent;
    color: var(--navy);
    font-size: 25px;
}


/* =========================================
   RESPONSIVE
   ========================================= */

@media (max-width: 1250px) {

    .application-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .process-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .process-intro {
        grid-column: span 3;
        border-right: none;
        border-bottom: 1px solid var(--border);
        padding-right: 0;
        padding-bottom: 20px;
    }

    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 992px) {

    .navbar {
        flex-wrap: wrap;
    }

    .nav-menu {
        display: none;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-grid {
        grid-template-columns: 1fr;
    }

    .hero-image {
        order: -1;
    }

    .hero-info {
        grid-template-columns: 1fr;
    }

    .info-item {
        border-right: none;
        border-bottom: 1px solid var(--border);
    }

        .info-item:last-child {
            border-bottom: none;
        }
}


@media (max-width: 768px) {

    .section {
        padding: 50px 0;
    }

    .logo-icon {
        width: 55px;
        height: 55px;
        font-size: 24px;
    }

    .logo-name {
        font-size: 20px;
    }

    .logo-vakfi {
        font-size: 15px;
        letter-spacing: 8px;
    }

    .hero {
        padding-top: 20px;
    }

    .hero-content h1 {
        font-size: 34px;
    }

    .application-grid {
        grid-template-columns: 1fr;
    }

    .application-card {
        min-height: auto;
    }

    .process-container {
        grid-template-columns: 1fr;
    }

    .process-intro {
        grid-column: auto;
    }

    .process-item {
        padding: 15px 0;
        border-bottom: 1px solid var(--border);
    }

    .process-arrow {
        display: none;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-contact {
        padding: 10px 0;
    }
}


@media (max-width: 480px) {

    .container {
        width: 94%;
    }

    .logo-text {
        padding-left: 10px;
    }

    .logo-small {
        letter-spacing: 2px;
    }

    .logo-name {
        font-size: 17px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .application-card {
        padding: 25px 18px 18px;
    }

    .hero-info {
        padding: 15px;
    }

    .info-item {
        padding: 12px 5px;
    }
}
/* ---------- HERO BANNER EKLEMESİ ---------- */

.hero-banner-section {
    padding: 30px 0 20px;
}

.hero-banner-wrapper {
    width: 100%;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    background: #fff;
}

.hero-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.mt-4 {
    margin-top: 25px;
}

/* FORM GENEL STİLLERİ */
.form-card {
    background: #ffffff;
    border: 1px solid var(--border, #e5e7eb);
    border-radius: 12px;
    padding: 24px;
    margin-top: 20px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .form-group label {
        font-size: 14px;
        font-weight: 600;
        color: #333;
    }

.form-control {
    padding: 10px 14px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    font-size: 14px;
    outline: none;
}

    .form-control:focus {
        border-color: #1a56db;
    }

.file-upload-box {
    border: 2px dashed #d1d5db;
    padding: 15px;
    border-radius: 8px;
    text-align: center;
    background: #f9fafb;
    cursor: pointer;
}

.submit-btn {
    background: #000;
    color: #fff;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
}

.form-section-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a56db;
    margin-top: 24px;
    margin-bottom: 12px;
    padding-bottom: 6px;
    border-bottom: 2px solid #e5e7eb;
}

.full-width {
    grid-column: 1 / -1;
}

.form-header {
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

    .form-header h2 {
        font-size: 20px;
        font-weight: bold;
        color: #111827;
    }

/* --- MODERN FORM KART VE DÜZENİ --- */
.form-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border: 1px solid #eef2f6;
    max-width: 900px;
    margin: 20px auto;
}

.form-header {
    border-bottom: 2px solid #f1f5f9;
    padding-bottom: 15px;
    margin-bottom: 25px;
}

    .form-header h2 {
        color: #1e293b;
        font-size: 22px;
        font-weight: 700;
        display: flex;
        align-items: center;
        gap: 10px;
        margin: 0;
    }

    .form-header p {
        color: #64748b;
        font-size: 14px;
        margin-top: 5px;
        margin-bottom: 0;
    }

/* Bölüm Başlıkları */
.form-section-title {
    font-size: 15px;
    font-weight: 700;
    color: #0f172a;
    background-color: #f8fafc;
    padding: 10px 14px;
    border-left: 4px solid #2563eb;
    border-radius: 4px;
    margin-top: 25px;
    margin-bottom: 18px;
}

/* --- YAN YANA HİZALAMA (GRID) --- */
.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Tam olarak 2 eşit sütun */
    gap: 18px 20px; /* Alanlar arası boşluk */
}

/* Tek sütunu kaplayacak geniş alanlar (Adres, Açıklama vb.) */
.full-width {
    grid-column: span 2;
}

/* Mobil cihazlarda tek sütuna düşsün */
@media (max-width: 768px) {
    .form-grid {
        grid-template-columns: 1fr;
    }

    .full-width {
        grid-column: span 1;
    }
}

/* --- FORM ELEMANLARI STİLİ --- */
.form-group {
    display: flex;
    flex-direction: column;
}

    .form-group label {
        font-size: 13px;
        font-weight: 600;
        color: #334155;
        margin-bottom: 6px;
    }

.form-control {
    width: 100%;
    padding: 10px 14px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    transition: all 0.2s ease-in-out;
    box-sizing: border-box;
}

    .form-control:focus {
        outline: none;
        border-color: #2563eb;
        box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
    }

/* Dosya Yükleme Kutusu */
.file-upload-box {
    border: 2px dashed #cbd5e1;
    padding: 20px;
    border-radius: 8px;
    background: #f8fafc;
    text-align: center;
    transition: background 0.2s;
}

    .file-upload-box:hover {
        background: #f1f5f9;
        border-color: #94a3b8;
    }

    .file-upload-box input[type="file"] {
        width: 100%;
        cursor: pointer;
    }

/* Gönder Butonu */
.submit-btn {
    width: 100%;
    background-color: #2563eb;
    color: #ffffff;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.2s;
}

    .submit-btn:hover {
        background-color: #1d4ed8;
    }

/* =========================================
   BAŞVURU SAYFASI – EK STİLLER
   ========================================= */

/* Sayfa arka planı */
.apply-page {
    padding: 30px 0 80px;
}

/* Breadcrumb */
.apply-breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--muted);
    margin-bottom: 20px;
}

    .apply-breadcrumb a {
        color: var(--gold);
    }

    .apply-breadcrumb i {
        font-size: 10px;
    }

/* Sayfa başlığı */
.apply-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 28px;
}

.apply-badge {
    width: 64px;
    height: 64px;
    background: var(--navy);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 26px;
    flex-shrink: 0;
}

.apply-header h1 {
    font-size: 24px;
    color: var(--navy);
    margin: 0 0 4px;
}

.apply-header p {
    color: var(--muted);
    font-size: 14px;
    margin: 0;
}

/* Alert */
.alert {
    display: flex;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
    font-size: 14px;
}

.alert-danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    color: #991b1b;
}

    .alert-danger i {
        font-size: 20px;
        flex-shrink: 0;
        margin-top: 2px;
    }

.alert ul {
    margin: 6px 0 0 16px;
}

/* Beyan listesi */
.declaration-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.declaration-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s;
}

    .declaration-item:hover {
        background: #f1f5f9;
    }

.declaration-check {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: var(--navy);
    cursor: pointer;
}

.declaration-item span {
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}

/* Submit bölümü */
.submit-section {
    display: flex;
    gap: 16px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--navy);
    color: var(--navy);
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.2s;
}

    .btn-secondary:hover {
        background: var(--navy);
        color: white;
    }

/* Alan hata mesajı */
.field-error {
    color: #ef4444;
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

.field-hint {
    color: var(--muted);
    font-size: 12px;
    margin-top: 4px;
    display: block;
}

/* Zorunlu / opsiyonel etiket */
.required-star {
    color: #ef4444;
}

.optional-label {
    color: var(--muted);
    font-size: 12px;
    font-weight: 400;
}

/* Dosya yükleme ikon */
.upload-icon {
    font-size: 28px;
    color: var(--gold);
    display: block;
    margin-bottom: 8px;
}

.upload-hint {
    color: var(--muted);
    font-size: 12px;
    display: block;
    margin-top: 8px;
}

/* Özel ihtiyaç kutu */
.special-need-box {
    border-color: #f59e0b;
    background: #fffbeb;
}

/* Form kartı arasına boşluk */
.form-card + .form-card {
    margin-top: 24px;
}

/* =========================================
   DOSYA YÜKLEME KUTULARI – Ortak Stiller
   site.css dosyasına ekleyin
   ========================================= */

.doc-icon {
    color: var(--gold, #b58142);
    margin-right: 5px;
    width: 16px;
}

.file-upload-box {
    position: relative;
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 18px 16px;
    background: #f8fafc;
    text-align: center;
    transition: border-color 0.2s, background 0.2s;
    cursor: pointer;
    min-height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

    .file-upload-box:hover {
        border-color: #b58142;
        background: #fdf8f2;
    }

    .file-upload-box.has-file {
        border-color: #22c55e;
        background: #f0fdf4;
    }

.upload-icon-sm {
    font-size: 22px;
    color: #94a3b8;
    pointer-events: none;
}

.file-upload-box.has-file .upload-icon-sm {
    color: #22c55e;
}

.upload-label {
    font-size: 13px;
    color: #64748b;
    pointer-events: none;
}

.file-name-display {
    font-size: 12px;
    color: #166534;
    font-weight: 600;
    word-break: break-all;
    max-width: 100%;
    pointer-events: none;
}

/* Dosya input'u kutuyu tamamen kaplar, görünmez */
.file-input {
    position: absolute;
    inset: 0;
    opacity: 0;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

/* =========================================
   ALAN BAZLI HATA GÖSTERİMİ
   ========================================= */

/* Boş span'ler yer kaplamasın */
.field-error:empty {
    display: none;
}

.field-error {
    display: block;
    color: #ef4444;
    font-size: 12px;
    font-weight: 500;
    line-height: 1.4;
    margin-top: 5px;
}

    .field-error::before {
        content: "\f06a"; /* fa-circle-exclamation */
        font-family: "Font Awesome 6 Free";
        font-weight: 900;
        margin-right: 5px;
    }

/* --- Hatalı form grubu --- */
.form-group.has-error > label {
    color: #b91c1c;
}

    /* Etiketin sonuna kırmızı yıldız */
    .form-group.has-error > label::after {
        content: " *";
        color: #ef4444;
        font-weight: 700;
    }

    /* Zaten yıldızı olan etiketlerde ikinci yıldızı engelle */
    .form-group.has-error > label:has(.required-star)::after {
        content: none;
    }

.form-group.has-error .required-star {
    animation: errorPulse 0.6s ease;
}

/* --- Hatalı input / select / textarea --- */
.form-control.input-validation-error,
.form-group.has-error .form-control {
    border-color: #ef4444;
    background: #fef2f2;
}

    .form-control.input-validation-error:focus,
    .form-group.has-error .form-control:focus {
        border-color: #ef4444;
        box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.15);
    }

/* --- Hatalı dosya yükleme kutusu --- */
.form-group.has-error .file-upload-box {
    border-color: #ef4444;
    background: #fef2f2;
}

    .form-group.has-error .file-upload-box .upload-icon-sm {
        color: #ef4444;
    }

/* --- Hatalı beyan (checkbox) satırı --- */
.declaration-item.has-error {
    border-color: #ef4444;
    background: #fef2f2;
}

    .declaration-item.has-error span {
        color: #991b1b;
    }

    .declaration-item.has-error .declaration-check {
        outline: 2px solid #ef4444;
        outline-offset: 2px;
    }

/* --- Genel uyarı kutusu sadeleşti --- */
.alert-danger strong {
    display: block;
    margin-bottom: 2px;
}

@keyframes errorPulse {
    0%, 100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.4);
    }
}

/* =========================================
   KAYITLI (STAGED) BELGE GÖSTERİMİ
   ========================================= */
.staged-note {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #15803d;
    font-weight: 500;
}

    .staged-note i {
        margin-right: 4px;
    }

.staged-list {
    margin-top: 16px;
    padding: 14px 18px;
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 8px;
}

    .staged-list strong {
        display: block;
        font-size: 13px;
        color: #166534;
        margin-bottom: 8px;
    }

    .staged-list ul {
        margin: 0;
        padding-left: 20px;
    }

    .staged-list li {
        font-size: 13px;
        color: #15803d;
        padding: 2px 0;
    }

.alert-info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    color: #1e40af;
}

    .alert-info i {
        font-size: 20px;
        flex-shrink: 0;
        margin-top: 2px;
    }

    .alert-info strong {
        display: block;
        margin-bottom: 2px;
    }

/* =========================================
   BAŞVURU NUMARASI KUTUSU (Success)
   ========================================= */
.app-number-box {
    background: linear-gradient(135deg, #13263b, #1d354d);
    border-radius: 12px;
    padding: 22px 20px;
    margin: 0 0 20px;
    text-align: center;
    position: relative;
}

    .app-number-box small {
        display: block;
        color: #b58142;
        font-size: 11px;
        letter-spacing: 2px;
        margin-bottom: 8px;
    }

.app-number {
    font-family: "Consolas", "Courier New", monospace;
    font-size: 30px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 3px;
    user-select: all;
    word-break: break-all;
}

.copy-btn {
    margin-top: 14px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    transition: 0.2s;
}

    .copy-btn:hover {
        background: rgba(255, 255, 255, 0.22);
    }

    .copy-btn.copied {
        background: #22c55e;
        border-color: #22c55e;
    }

.warning-box {
    display: flex;
    gap: 12px;
    text-align: left;
    background: #fffbeb;
    border: 1px solid #fde68a;
    border-radius: 8px;
    padding: 14px 16px;
    margin-bottom: 26px;
    font-size: 13px;
    color: #92400e;
    line-height: 1.6;
}

    .warning-box i {
        font-size: 18px;
        flex-shrink: 0;
        margin-top: 2px;
        color: #d97706;
    }

    .warning-box strong {
        display: block;
    }

.success-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

    .success-actions .submit-btn,
    .success-actions .btn-secondary {
        width: auto;
        display: inline-flex;
        align-items: center;
        gap: 8px;
    }

/* Success sayfası temel stilleri (eski inline <style> yerine) */
.success-page {
    padding: 60px 0;
}

.success-card {
    max-width: 640px;
    margin: 0 auto;
    background: #fff;
    border-radius: 18px;
    padding: 45px 40px;
    text-align: center;
    box-shadow: 0 10px 35px rgba(0,0,0,0.08);
}

.success-icon {
    font-size: 68px;
    color: #22c55e;
    margin-bottom: 18px;
}

.success-card h1 {
    color: #0f172a;
    font-size: 28px;
    margin-bottom: 10px;
}

.applicant-name {
    color: #374151;
    font-size: 16px;
}

.success-card > p {
    color: #64748b;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 26px;
}

.success-steps {
    text-align: left;
    margin-bottom: 28px;
}

.success-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f5f9;
    color: #374151;
    font-size: 14px;
}

    .success-step i {
        color: #b58142;
        font-size: 18px;
        width: 24px;
        flex-shrink: 0;
    }

/* =========================================
   BAŞVURU TAKİP SONUCU
   ========================================= */
.track-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    padding-bottom: 18px;
    border-bottom: 2px solid #f1f5f9;
    margin-bottom: 20px;
}

    .track-head small {
        display: block;
        font-size: 11px;
        letter-spacing: 2px;
        color: var(--muted);
    }

    .track-head h2 {
        font-family: "Consolas", "Courier New", monospace;
        font-size: 24px;
        color: var(--navy);
        letter-spacing: 2px;
        margin: 4px 0 0;
    }

.status-badge {
    padding: 8px 18px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: #64748b;
}

.status-1 {
    background: #f59e0b;
}
/* Beklemede */
.status-2 {
    background: #ef4444;
}
/* Eksik Evrak */
.status-3 {
    background: #3b82f6;
}
/* Mülakat */
.status-4 {
    background: #22c55e;
}
/* Onaylandı */
.status-5 {
    background: #991b1b;
}
/* Reddedildi */
.status-6 {
    background: #6b7280;
}
/* İptal */

.track-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
}

.track-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 12px 14px;
}

    .track-item small {
        display: block;
        font-size: 11px;
        color: var(--muted);
        margin-bottom: 4px;
    }

    .track-item strong {
        font-size: 14px;
        color: #0f172a;
    }

.review-note {
    margin-top: 20px;
    background: #eff6ff;
    border-left: 4px solid #2563eb;
    border-radius: 6px;
    padding: 14px 16px;
}

    .review-note strong {
        display: block;
        font-size: 13px;
        color: #1e40af;
        margin-bottom: 6px;
    }

    .review-note p {
        font-size: 14px;
        color: #374151;
        margin: 0;
        line-height: 1.6;
    }

.track-timeline {
    list-style: none;
    padding-left: 18px;
    border-left: 2px solid #e2e8f0;
}

    .track-timeline li {
        position: relative;
        padding: 0 0 16px 16px;
    }

        .track-timeline li::before {
            content: "";
            position: absolute;
            left: -25px;
            top: 6px;
            width: 12px;
            height: 12px;
            border-radius: 50%;
            background: var(--gold);
            border: 2px solid #fff;
        }

.tl-date {
    display: block;
    font-size: 11px;
    color: var(--muted);
}

.tl-text {
    font-size: 14px;
    color: #374151;
}

    .tl-text em {
        display: block;
        color: var(--muted);
        font-size: 13px;
        margin-top: 2px;
    }

/* =========================================
   İLK/ORTAÖĞRETİM FORMU – EK STİLLER
   ========================================= */

/* Anne / baba blokları */
.parent-block {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    padding: 16px 18px;
    margin-bottom: 14px;
}

.parent-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 12px;
}

    .parent-head strong {
        font-size: 14px;
        color: var(--navy);
    }

    .parent-head i {
        color: var(--gold);
        margin-right: 6px;
    }

.parent-details {
    margin-bottom: 0;
}

/* Yatay radio grubu */
.radio-inline {
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}

    .radio-inline label {
        display: inline-flex;
        align-items: center;
        gap: 7px;
        font-size: 13px;
        font-weight: 500;
        color: #334155;
        cursor: pointer;
        margin: 0;
    }

    .radio-inline input[type="radio"] {
        width: 17px;
        height: 17px;
        accent-color: var(--navy);
        cursor: pointer;
        margin: 0;
    }

.housing-options {
    padding: 10px 0 2px;
    gap: 22px;
}

/* Kardeş / referans tabloları */
.table-scroll {
    overflow-x: auto;
    margin-bottom: 8px;
}

.row-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
}

    .row-table thead th {
        background: #f1f5f9;
        color: #334155;
        font-size: 12px;
        font-weight: 700;
        text-align: left;
        padding: 9px 10px;
        border-bottom: 2px solid #e2e8f0;
        white-space: nowrap;
    }

    .row-table td {
        padding: 6px 6px;
        vertical-align: middle;
    }

    .row-table .row-no {
        text-align: center;
        font-size: 13px;
        font-weight: 700;
        color: var(--muted);
    }

    .row-table .form-control {
        font-size: 13px;
        padding: 8px 10px;
    }

    .row-table tbody tr:nth-child(even) {
        background: #fafbfc;
    }

/* İmza notu */
.signature-note {
    display: block;
    margin-top: 10px;
    padding: 10px 14px;
    background: #eff6ff;
    border-left: 3px solid #2563eb;
    border-radius: 4px;
    font-size: 12px;
    color: #1e40af;
    line-height: 1.6;
}

    .signature-note i {
        margin-right: 5px;
    }

/* Dikey radio grubu (ikamet tercihi) */
.radio-stack {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 4px 0;
}

    .radio-stack label {
        display: flex;
        align-items: center;
        gap: 10px;
        font-size: 14px;
        color: #334155;
        cursor: pointer;
        margin: 0;
    }

    .radio-stack input[type="radio"] {
        width: 17px;
        height: 17px;
        accent-color: var(--navy);
        cursor: pointer;
        margin: 0;
        flex-shrink: 0;
    }

/* Koşullu açılan alt blok */
.sub-block {
    background: #f8fafc;
    border-left: 3px solid var(--gold);
    border-radius: 6px;
    padding: 16px 18px;
    margin: 4px 0 18px;
}