/* Eker Form Stilleri */
:root {
    --primary-color: #d1292e;
    --primary-hover: #b12229;
    --text-color: #333;
    --light-bg: #f7f7f7;
    --form-bg: #f7f7f7;
    --border-color: #e5e5e5;
    --input-bg: #fff;
    --input-border: #ddd;
    --shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
    --file-info-bg: #fff9e6;
    --file-info-color: #855a1b;
    --file-info-border: #ffe0b2;
}

.eker-form-container {
    background-color: var(--form-bg);
    padding: 20px;
    max-width: 1140px;
    margin: 0 auto;
    font-family: 'Arial', sans-serif;
    color: var(--text-color);
    line-height: 1.5;
}

.eker-form-title {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.eker-form-section {
    margin-bottom: 40px;
}

.eker-form-section-title {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 5px;
    border-bottom: 0;
}

.eker-form-field {
    margin-bottom: 20px;
}

.eker-form-field label {
    display: block;
    font-weight: 500;
    margin-bottom: 8px;
    color: var(--primary-color);
    font-size: 14px;
}

.eker-form-field input,
.eker-form-field select,
.eker-form-field textarea {
    width: 100%;
    padding: 10px 15px;
    font-size: 15px;
    border: 1px solid var(--input-border);
    border-radius: 0;
    background-color: var(--input-bg);
    color: #666;
    transition: var(--transition);
}

.eker-form-field input:focus,
.eker-form-field select:focus,
.eker-form-field textarea:focus {
    border-color: var(--primary-color);
    outline: none;
    box-shadow: 0 0 0 2px rgba(209, 41, 46, 0.1);
}

.eker-form-row {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
}

.eker-form-column {
    flex: 1;
    padding: 0 15px;
    min-width: 250px;
    margin-bottom: 15px;
}

/* Dosya yükleme alanı */
.eker-file-upload {
    display: flex;
    flex-direction: column;
    gap: 5px;
    margin-bottom: 10px;
}

.eker-file-upload-label {
    font-size: 14px;
    color: #777;
    margin-bottom: 5px;
}

.eker-file-upload input[type="file"] {
    display: none;
}

.eker-file-upload-button {
    display: inline-block;
    padding: 10px 15px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: var(--transition);
    text-align: center;
    white-space: nowrap;
    max-width: 180px;
}

.eker-file-upload-button:hover {
    background-color: var(--primary-hover);
}

.eker-file-name {
    font-size: 14px;
    color: #666;
    padding: 8px;
    background: #f9f9f9;
    border-radius: 4px;
    margin-top: 8px;
}

/* Açılır menü stilleri */
.eker-dropdown {
    position: relative;
}

.eker-dropdown-toggle,
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="6" viewBox="0 0 12 6"><path fill="%23d1292e" d="M0 0l6 6 6-6z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px !important;
    cursor: pointer;
}

/* Seç Dropdown Butonları */
.eker-form-field .seç {
    background-color: var(--primary-color);
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: 500;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
}

.eker-form-field .seç:after {
    content: "";
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    margin-left: 8px;
}

/* Captcha alanı */
.eker-captcha-field {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
}

.eker-recaptcha-field {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

/* Onay checkboxları */
.eker-checkbox-field {
    margin-bottom: 15px;
}

.eker-checkbox-field label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: normal;
    cursor: pointer;
    line-height: 1.4;
}

.eker-checkbox-field input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
}

.eker-checkbox-field span {
    font-size: 14px;
    color: #555;
}

/* Gönder butonu */
.eker-form-submit-wrapper {
    text-align: center;
    margin-top: 30px;
}

.eker-form-submit {
    padding: 12px 40px;
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.eker-form-submit:hover {
    background-color: var(--primary-hover);
}

/* Form yanıtı alanı */
.eker-form-response {
    margin-top: 30px;
    padding: 15px;
    border-radius: 4px;
    display: none;
}

.eker-form-response.success {
    background-color: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
    display: block;
}

.eker-form-response.error {
    background-color: #ffebee;
    color: #c62828;
    border: 1px solid #ef9a9a;
    display: block;
}

/* Telefon numara alanı stili */
.eker-form-field input[type="tel"] {
    letter-spacing: 1px;
}

/* Sağlık Raporu ve Vesikalık Fotoğraf özel stiller */
.eker-file-item {
    background: #f9f9f9;
    padding: 8px 10px;
    margin-top: 8px;
    border-radius: 4px;
    border: 1px solid #eee;
    font-size: 14px;
    color: #666;
}

/* Görseldeki sarı arka planlı dosya adı alanı */
.eker-file-item.selected-file {
    background-color: var(--file-info-bg);
    border-color: var(--file-info-border);
    padding: 8px 10px;
    color: var(--file-info-color);
}

/* İki sütun için özel stil */
.eker-section-two-columns {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.eker-section-column {
    flex: 1;
    padding: 0 15px;
    min-width: 300px;
}

/* Özel dropdown stili */
.eker-custom-select-wrapper {
    position: relative;
}

.eker-custom-select {
    position: relative;
}

.eker-custom-select select {
    padding-right: 40px;
    width: 100%;
    cursor: pointer;
    border-radius: 0;
}

.eker-custom-select::after {
    content: '';
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid var(--primary-color);
    pointer-events: none;
}

/* Görseldeki stil için uyumluluk - Sağlık Raporu ve Vesikalık Fotoğraf bölümü */
.eker-health-report,
.eker-photo-upload {
    margin-bottom: 15px;
}

/* Görüntü içinde olan sarı arka planlı dosya adı */
.eker-file-info {
    padding: 8px;
    background-color: var(--file-info-bg);
    border: 1px solid var(--file-info-border);
    color: var(--file-info-color);
    font-size: 14px;
    border-radius: 4px;
    margin-top: 8px;
}

/* Özel select butonları (görseldeki kırmızı olanlar) */
.eker-select-button {
    display: inline-flex;
    align-items: center;
    background-color: var(--primary-color);
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: none;
}

.eker-select-button-arrow {
    margin-left: 10px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    display: inline-block;
}

@media only screen and (max-width: 767px) {
    .eker-form-container {
        padding: 15px;
    }
    
    .eker-form-title {
        font-size: 22px;
    }
    
    .eker-form-section-title {
        font-size: 18px;
    }
    
    .eker-form-column {
        flex-basis: 100%;
    }
    
    .eker-form-submit {
        width: 100%;
        padding: 12px 20px;
    }
    
    .eker-recaptcha-field iframe {
        transform: scale(0.9);
        transform-origin: center;
    }
} 