/* =========================================
   APPLY PAGE STYLES (Başvuru Formu)
   ========================================= */

.apply-content {
    margin-top: 50px;
    padding-bottom: 80px;
}

/* Bilgilendirme Kutusu */
.apply-info-box {
    background-color: #fbf8f1;
    border-left: 4px solid #c9a55c;
    padding: 25px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.info-icon i {
    font-size: 35px;
    color: #c9a55c;
    margin-top: 5px;
}

.info-text h3 {
    color: #333;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
}

.info-text p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

.info-text a {
    color: #c9a55c;
    font-weight: bold;
    text-decoration: none;
    border-bottom: 1px dotted #c9a55c;
}

/* Form Kapsayıcı */
.form-wrapper {
    padding: 50px 60px;
    background-color: #fff;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

.form-header {
    text-align: center;
    margin-bottom: 50px;
}

.form-header h2 {
    color: #222;
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 10px;
}

.form-header p {
    color: #777;
    font-size: 15px;
}

/* =========================================
   FİELDSET (KART) YAPISI
   ========================================= */
.form-section {
    border: 2px solid #e2e2e2;
    /* Daha kalın border */
    border-radius: 10px;
    padding: 45px 35px 35px;
    margin-bottom: 45px;
    background-color: #fff;
    position: relative;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-section:hover {
    border-color: #d1b578;
    box-shadow: 0 10px 30px rgba(201, 165, 92, 0.08);
}

.section-title-wrapper {
    position: absolute;
    top: -20px;
    left: 30px;
    background-color: #c9a55c;
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(201, 165, 92, 0.3);
}

.section-icon {
    font-size: 16px;
}

.section-title-wrapper legend {
    font-size: 16px;
    font-weight: bold;
    margin: 0;
    padding: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 700;
    color: #555;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* =========================================
   INPUTLAR VE TEXTAREA
   ========================================= */
.form-control {
    width: 100%;
    padding: 14px 15px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 15px;
    font-family: inherit;
    background-color: #fafafa;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #c9a55c;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(201, 165, 92, 0.1);
}

/* Textarea İçin Özel Hizalama */
textarea.form-control {
    resize: vertical;
    padding-top: 14px;
    line-height: 1.5;
    min-height: 80px;
}

/* İkonlu Inputlar */
.input-icon-wrapper {
    position: relative;
}

.input-icon-wrapper i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #aaa;
    font-size: 16px;
}

.form-control.with-icon {
    padding-left: 45px;
}

.social-input i {
    font-size: 18px;
}

.custom-checkbox {
    flex-direction: row;
    align-items: center;
    gap: 10px;
    padding: 10px 0;
}

.form-checkbox {
    width: 20px;
    height: 20px;
    accent-color: #c9a55c;
    cursor: pointer;
}

.custom-checkbox label {
    margin: 0;
    cursor: pointer;
    text-transform: none;
}

/* =========================================
   FOTOĞRAF YÜKLEME VE ÖNİZLEME
   ========================================= */
.upload-section {
    border: 2px dashed #ddd;
    background-color: #fcfcfc;
    transition: border-color 0.3s;
}

.upload-section:hover {
    border-color: #c9a55c;
}

.file-upload-box {
    text-align: center;
    padding: 30px 0;
}

.upload-icon {
    font-size: 45px;
    color: #c9a55c;
    margin-bottom: 15px;
}

#upload-prompt h4 {
    color: #333;
    font-size: 18px;
    margin-bottom: 5px;
}

#upload-prompt p {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
}

.btn-browse {
    background-color: #fff;
    color: #c9a55c;
    border: 2px solid #c9a55c;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-browse:hover {
    background-color: #c9a55c;
    color: #fff;
}

#image-preview-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.preview-wrapper {
    position: relative;
    width: 200px;
    height: 250px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
    border: 3px solid #fff;
}

.preview-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.btn-remove-image {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(217, 83, 79, 0.9);
    color: #fff;
    border: none;
    padding: 10px 0;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s;
    font-size: 13px;
}

.btn-remove-image:hover {
    background-color: #c9302c;
}

/* Hata Mesajları & Submit Butonu */
.error-msg {
    color: #d9534f;
    font-size: 12px;
    margin-top: 5px;
    font-weight: bold;
}

.submit-section {
    text-align: center;
    margin-top: 40px;
}

.btn-submit {
    background-color: #c9a55c;
    color: #fff;
    border: none;
    padding: 18px 50px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 10px 25px rgba(201, 165, 92, 0.4);
}

.btn-submit:hover {
    background-color: #b38f4a;
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(201, 165, 92, 0.5);
}

/* Responsive */
@media (max-width: 992px) {
    .apply-info-box {
        flex-direction: column;
        text-align: center;
        align-items: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .form-wrapper {
        padding: 40px 20px;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .section-title-wrapper {
        left: 50%;
        transform: translateX(-50%);
        width: 80%;
        justify-content: center;
        top: -18px;
    }

    .form-section {
        padding-top: 50px;
    }
}