body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center; /* SayfayÄ± yatayda ortala */
    align-items: center; /* SayfayÄ± dikeyde ortala */
    min-height: 100vh; /* Tam ekran yÃ¼ksekliÄŸi */
    margin: 0;
    padding: 20px;
    box-sizing: border-box; /* Padding'i kutu modeline dahil et */
    overflow-x: hidden; /* Yatay kaydÄ±rmayÄ± engelle - GeniÅŸ ekranlarda sorun yoksa kaldÄ±rÄ±labilir */
}

.form-container {
    background-color: #fff;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px; /* Maksimum geniÅŸlik belirle */
    box-sizing: border-box;
    overflow-x: hidden; /* Form iÃ§eriÄŸinin yana taÅŸmasÄ±nÄ± engelle */
}

h1 {
    text-align: center;
    color: #333;
    margin-bottom: 30px;
}

h2 {
    color: #f18313;
    border-bottom: 2px solid #f18313;
    padding-bottom: 10px;
    margin-top: 30px;
    margin-bottom: 20px;
}

h3 {
    color: #007bff;
    margin-top: 25px;
    margin-bottom: 15px;
}

.form-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px dashed #ccc;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: #555;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="date"],
input[type="number"],
select,
textarea {
    /* Buradaki width calc() deÄŸerini kaldÄ±rÄ±p, .form-container iÃ§indeki width: 100% ve padding ile yÃ¶netmeyi deneyelim */
    width: 100%; /* Genel olarak tam geniÅŸlik */
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box; /* Ã‡ok Ã¶nemli: padding ve border'Ä± width iÃ§ine dahil et */
    font-size: 16px;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="date"]:focus,
input[type="number"]:focus,
select:focus,
textarea:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.25);
}

textarea {
    resize: vertical;
}

.radio-group, .checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.radio-group label, .checkbox-group label {
    display: flex;
    align-items: center;
    font-weight: normal;
    margin-bottom: 0; /* Override default label margin */
}

.radio-group input[type="radio"], .checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 8px;
}

.required {
    color: #dc3545;
    font-weight: normal;
}

.warning-text {
    color: #ffc107;
    font-size: 0.9em;
    margin-top: 5px;
}

.error-text {
    color: #dc3545;
    font-size: 0.9em;
    margin-top: 5px;
}

.hint-text {
    color: #6c757d;
    font-size: 0.85em;
    margin-top: 5px;
}

button[type="submit"] {
    display: block;
    width: 100%;
    padding: 12px 20px;
    background-color: #28a745;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 30px;
}

button[type="submit"]:hover {
    background-color: #218838;
}

button[type="button"] {
    background-color: #007bff;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

button[type="button"]:hover {
    background-color: #0056b3;
}

.remove-experience-field {
    background-color: #dc3545;
    margin-left: 10px;
}

.remove-experience-field:hover {
    background-color: #c82333;
}

/* Mesleki TecrÃ¼be AlanÄ± Stilleri - GÃœNCELLENDÄ° */
.experience-item {
    display: flex;
    flex-wrap: wrap; /* ElemanlarÄ±n alt satÄ±ra geÃ§mesine izin ver */
    gap: 10px; /* Elemanlar arasÄ±na boÅŸluk */
    margin-bottom: 15px; /* Her bir tecrÃ¼be alanÄ± arasÄ±na boÅŸluk */
    align-items: center; /* ElemanlarÄ± dikeyde hizala */
    border: 1px solid #ddd; /* Her bloÄŸa kenarlÄ±k ekle */
    padding: 10px;
    border-radius: 5px;
    box-sizing: border-box; /* .experience-item iÃ§in de box-sizing'i ayarla */
}

.experience-item select,
.experience-item input[type="number"],
.experience-item input[type="text"] {
    flex: 1 1 auto; /* flex-grow: 1, flex-shrink: 1, flex-basis: auto */
    /* flex-basis: auto varsayÄ±lan geniÅŸliÄŸini korur, sonra kÃ¼Ã§Ã¼lÃ¼r/bÃ¼yÃ¼r. */
    min-width: 120px; /* ElemanlarÄ±n daha fazla kÃ¼Ã§Ã¼lmesini engelle (biraz dÃ¼ÅŸÃ¼rdÃ¼k) */
    width: auto; /* Genel input[type="text"] stilini geÃ§ersiz kÄ±lmak iÃ§in */
    box-sizing: border-box; /* Bu elemanlar iÃ§in de box-sizing'i aÃ§Ä±kÃ§a belirt */
}

.experience-item button {
    flex-shrink: 0; /* Butonun asla kÃ¼Ã§Ã¼lmemesini saÄŸlar */
    margin-top: 0; /* Ãœstteki varsayÄ±lan butona margin'i sÄ±fÄ±rla */
    box-sizing: border-box; /* Bu eleman iÃ§in de box-sizing'i aÃ§Ä±kÃ§a belirt */
}

/* Mobil Uyumlu DÃ¼zenleme (768px ve altÄ± ekranlar iÃ§in) - GÃœNCELLENDÄ° */
@media (max-width: 768px) {
    .experience-item {
        flex-direction: column; /* Mobil cihazlarda elemanlarÄ± alt alta sÄ±rala */
        align-items: stretch; /* ElemanlarÄ± yatayda tam geniÅŸlik yap */
        width: 100%; /* Emin olmak iÃ§in */
    }

    .experience-item select,
    .experience-item input[type="number"],
    .experience-item input[type="text"],
    .experience-item button {
        width: 100% !important; /* Mutlaka tam geniÅŸlik kaplamalarÄ±nÄ± saÄŸlar, !important ile diÄŸer kurallarÄ± ezer */
        margin-bottom: 10px; /* Elemanlar arasÄ±na dikey boÅŸluk */
        flex-basis: auto; /* Flex basis'i sÄ±fÄ±rlayarak esnekliÄŸi koru */
        min-width: 0; /* Mobil ekranda minimum geniÅŸliÄŸi kaldÄ±r, tamamen esnek olsunlar */
    }

    .experience-item button {
        margin-top: 5px; /* Butonun Ã¼stÃ¼ne biraz boÅŸluk */
    }

    /* Genel input geniÅŸlik kuralÄ±nÄ± mobil gÃ¶rÃ¼nÃ¼mde geÃ§ersiz kÄ±l */
    input[type="text"],
    input[type="email"],
    input[type="tel"],
    input[type="date"],
    input[type="number"],
    select,
    textarea {
        width: 100% !important;
        padding: 10px; /* Padding'i koru */
    }

    .form-container {
        padding: 20px; /* Mobil ekranlarda form container padding'ini azalt */
    }
}


/* Result Section Styling */
#resultSection {
    background-color: #e9ecef;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    border: 1px solid #ced4da;
}

#resultSection h2 {
    color: #28a745;
    border-bottom: 2px solid #28a745;
}

#resultSection p {
    font-size: 1.1em;
    margin-bottom: 10px;
}

#resultSection #totalScore {
    font-weight: bold;
    color: #0056b3;
}

#resultSection #assessmentStatus {
    font-weight: bold;
    color: #333; /* Default color, will be changed by JS */
}

.status-excellent { color: #007bff !important; } /* Blue */
.status-suitable { color: #28a745 !important; } /* Green */
.status-borderline { color: #ffc107 !important; } /* Yellow */
.status-low { color: #dc3545 !important; } /* Red */

#scoreDetails {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px dashed #ced4da;
}

#scoreDetails p {
    margin-bottom: 8px;
    font-size: 1em;
}

#scoreDetails span {
    font-weight: bold;
}
/* KVKK Modal Stil AyarlarÄ± */
/* KVKK ve Bilgi Doğruluk Beyanı Onay Bölümleri için stiller */
.kvkk-group, .info-group {
    margin-top: 30px;
    margin-bottom: 20px;
}

.kvkk-checkbox-container, .info-checkbox-container {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
    font-weight: normal;
    font-size: 14px;
    line-height: 1.4;
}

.kvkk-checkbox-container input[type="checkbox"], .info-checkbox-container input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
    margin-top: 2px;
}

.kvkk-checkbox-container a, .info-checkbox-container a {
    color: #007bff;
    text-decoration: underline;
    margin-left: 5px;
}

/* Sizin verdiğiniz stili temel alarak tüm pop-up'lar için ortak stil */
.modal {
    display: none; /* Varsayılan olarak gizli */
    position: fixed; /* Ekranı sabitle */
    z-index: 1000; /* Diğer tüm elementlerin üzerinde olmasını sağla */
    left: 0;
    top: 0;
    width: 100%; /* Tam genişlik */
    height: 100%; /* Tam yükseklik */
    overflow: auto; /* İçerik taşarsa scrollbar çıkar */
    background-color: rgba(0,0,0,0.7); /* Yarı şeffaf siyah arka plan */
    justify-content: center; /* İçeriği yatayda ortala */
    align-items: center; /* İçeriği dikeyde ortala */
}

.modal-content {
    background-color: #fefefe;
    margin: 10% auto; /* Dikeyde biraz boşluk bırak, yatayda ortala */
    padding: 30px;
    border: 1px solid #888;
    border-radius: 10px;
    width: 90%; /* Genişliği ayarla */
    max-width: 700px; /* Maksimum genişlik belirle */
    box-shadow: 0 5px 15px rgba(0,0,0,0.3); /* Hafif gölge */
}

.modal-text-area {
    max-height: 400px;
    overflow-y: auto;
    margin-bottom: 20px;
    border: 1px solid #eee;
    padding: 15px;
    background-color: #f9f9f9;
    border-radius: 5px;
    font-size: 0.9em;
    line-height: 1.6;
}

/* Pop-up'taki başlık ve paragraf stilleri */
.modal-content h3 {
    color: #f18313;
    border-bottom: 2px solid #f18313;
    padding-bottom: 10px;
    margin-top: 0;
    margin-bottom: 20px;
    text-align: center;
}

.modal-content p {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 15px;
}

.modal-content ul {
    list-style-type: disc;
    padding-left: 25px;
    margin-bottom: 15px;
}

.modal-content li {
    font-size: 15px;
    line-height: 1.6;
    color: #444;
}

/* Pop-up Kapatma Butonu */
.close-btn {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    position: absolute;
    top: 10px;
    right: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover,
.close-btn:focus {
    color: #000;
    text-decoration: none;
}

/* Sayfa iÃ§eriÄŸinin scroll olmasÄ±nÄ± engellemek iÃ§in */
body.modal-open {
    overflow: hidden;
}

/* Animasyon */
@keyframes animatetop {
    from {top: -300px; opacity: 0}
    to {top: 0; opacity: 1}
}


/* YENİ: Seçilen Ülke Etiketleri Stilleri */
.selected-countries-container {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: #f9f9f9;
    min-height: 40px; /* Boşken bile bir yüksekliği olsun */
}

.country-tag {
    display: flex;
    align-items: center;
    background-color: #007bff;
    color: white;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: bold;
    white-space: nowrap;
}

.country-tag .remove-tag {
    margin-left: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #e0e0e0;
    transition: color 0.2s;
}

.country-tag .remove-tag:hover {
    color: #ffdddd;
}


.recaptcha-group {
    margin: 20px 0;

}

.g-recaptcha {
    display: inline-block;
}