body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f7f6;
    color: #333;
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Üstten başlaması için */
    min-height: 100vh;
}

.form-container {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 700px;
}

header {
    text-align: center;
    margin-bottom: 30px;
}

header .logo {
    max-width: 150px;
    margin-bottom: 10px;
}

header h1 {
    color: #2c3e50;
    font-size: 1.8em;
    margin: 0;
}

fieldset {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 25px;
}

legend {
    font-weight: bold;
    color: #3498db;
    padding: 0 10px;
    font-size: 1.2em;
}

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

.form-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 8px;
    color: #555;
}

.form-group input[type="text"],
.form-group input[type="date"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group select,
.form-group textarea,
.form-group input[type="file"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}

.form-group input[type="file"] {
    padding: 3px;
}

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

.form-group select:disabled {
    background-color: #eee;
    cursor: not-allowed;
}

/* Pozisyon Türü Radio Butonları (drcv.tmgrup.com.tr tarzı) */
.pozisyon-turu-container .radio-group {
    display: flex;
    gap: 10px;
}
.pozisyon-turu-container input[type="radio"] {
    display: none; /* Gerçek radio butonu gizle */
}
.pozisyon-turu-container .radio-label {
    flex: 1;
    padding: 12px 15px;
    border: 2px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    font-weight: normal; /* label'ın genel boldluğunu kaldır */
}
.pozisyon-turu-container input[type="radio"]:checked + .radio-label {
    background-color: #3498db;
    color: white;
    border-color: #3498db;
}
.pozisyon-turu-container .radio-label:hover {
    border-color: #3498db;
}


/* Toggle Switch (Deneyim Var mı?) */
.toggle-switch-container {
    display: flex;
    align-items: center;
    gap: 10px;
}
.toggle-switch-container label:first-child { /* "Deneyim Var mı?" yazısı */
    margin-bottom: 0; 
}
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}
.switch input { 
    opacity: 0;
    width: 0;
    height: 0;
}
.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
}
.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
}
input:checked + .slider {
    background-color: #2196F3;
}
input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
}
input:checked + .slider:before {
    transform: translateX(26px);
}
.slider.round {
    border-radius: 24px;
}
.slider.round:before {
    border-radius: 50%;
}

/* Deneyim Satırı */
.deneyim-satiri {
    border: 1px dashed #eee;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 4px;
    background-color: #f9f9f9;
}
.deneyim-satiri .form-group {
    margin-bottom: 10px;
}
.deneyim-satiri label {
    font-size: 0.9em;
}
.deneyim-satiri input, .deneyim-satiri select {
    font-size: 0.95em;
    padding: 8px;
}
.deneyim-tarih-araligi {
    display: flex;
    gap: 10px;
}
.deneyim-tarih-araligi > div {
    flex: 1;
}
/* Hala çalışıyorum checkbox hizası ve görünürlüğü */
.deneyim-satiri .hala-calisiyorum-checkbox {
    display: inline-block !important;
    width: 24px;
    height: 24px;
    margin-right: 12px;
    accent-color: #3498db;
    vertical-align: middle;
    cursor: pointer;
}
.deneyim-satiri .hala-calisiyorum-label {
    display: inline-block !important;
    font-size: 1.13em;
    font-weight: 500;
    color: #2c3e50;
    vertical-align: middle;
    margin-bottom: 0 !important;
    cursor: pointer;
}
.deneyim-satiri .form-group.hala-calisiyorum-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}
.deneyim-tarih-araligi label[for^="hala_calisiyorum_"] {
    display: inline-block !important;
    margin-bottom: 0 !important;
    vertical-align: middle;
    font-size: 0.97em;
    color: #333;
}
.deneyim-sil-btn {
    background-color: #e74c3c;
    color: white;
    border: none;
    padding: 5px 10px;
    border-radius: 3px;
    cursor: pointer;
    font-size: 0.8em;
    float: right;
    margin-top: -10px; /* Labeledan biraz yukarı almak için */
}
.deneyim-sil-btn:hover {
    background-color: #c0392b;
}


/* Checkbox Grubu */
.checkbox-group {
    display: flex;
    align-items: flex-start;
}
.checkbox-group input[type="checkbox"] {
    margin-right: 10px;
    width: 20px;
    height: 20px;
    min-width: 20px;
    min-height: 20px;
    accent-color: #3498db;
    vertical-align: middle;
    appearance: auto; /* iOS/Safari için varsayılanı kullan */
    transform: none; /* scale kaldırıldı */
    box-sizing: border-box;
}
.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
}

/* Sadece ikinci onay metni için font küçültme */
.checkbox-group .kucuk-font {
    font-size: 0.97em;
    line-height: 1.3;
}


/* Butonlar */
.btn {
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-size: 1em;
    font-weight: bold;
    transition: background-color 0.2s ease-in-out;
}
.btn-primary {
    background-color: #3498db;
    color: white;
    width: 100%; /* Başvur butonu tam genişlik */
}
.btn-primary:hover {
    background-color: #2980b9;
}
.btn-secondary {
    background-color: #7f8c8d;
    color: white;
    display: inline-block; /* Yeni Deneyim Ekle butonu için */
    margin-top: 10px;
}
.btn-secondary:hover {
    background-color: #606c6d;
}

.submit-button-container {
    text-align: center; /* Butonu ortalamak için */
    margin-top: 30px;
}

/* Hata Mesajları (JS ile eklenebilir) */
.error-message {
    color: red;
    font-size: 0.9em;
    margin-top: 5px;
}

/* Responsive */
@media (max-width: 600px) {
    .form-container {
        padding: 20px;
    }
    header h1 {
        font-size: 1.5em;
    }
    .deneyim-tarih-araligi {
        flex-direction: column;
        gap: 0; /* Alttaki form-group margin'i yeterli */
    }
    .pozisyon-turu-container .radio-group {
        flex-direction: column; /* Mobil için alt alta */
    }
}

.departman-header, .departman-cell {
    text-align: left !important;
    font-weight: bold !important;
}
.pozisyon-header, .pozisyon-cell {
    text-align: center !important;
    font-weight: normal !important;
}

.evet-hayir-grid {
    display: flex;
    flex-direction: column;
    gap: 18px;
    background: #f8fafc;
    border: 1px solid #e0e6ed;
    border-radius: 7px;
    padding: 22px 18px 10px 18px;
    margin-bottom: 10px;
}
.evet-hayir-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    flex-wrap: wrap;
}
.evet-hayir-row label {
    flex: 1 1 220px;
    font-weight: 500;
    color: #2c3e50;
    margin-bottom: 0;
}
.evet-hayir-row .radio-group {
    display: flex;
    gap: 10px;
}
.evet-hayir-row .radio-label {
    padding: 8px 18px;
    border: 2px solid #ddd;
    border-radius: 5px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    font-weight: 500;
    background: #fff;
    color: #3498db;
    margin-left: 0;
    margin-right: 0;
}
.evet-hayir-row input[type="radio"] {
    display: none;
}
.evet-hayir-row input[type="radio"]:checked + .radio-label {
    background-color: #3498db;
    color: #fff;
    border-color: #3498db;
}
@media (max-width: 600px) {
    .evet-hayir-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .evet-hayir-row label {
        margin-bottom: 2px;
    }
    .evet-hayir-row .radio-group {
        width: 100%;
    }
}

.tamer-statu-col {
    width: 150px !important;
}