/*
Theme Name:     Foxiz child
Template:      	foxiz
Theme URI:      https://foxiz.themeruby.com
Author:         Theme-Ruby
Author URI:     https://themeforest.net/user/theme-ruby/portfolio/
Description:    Make your modifications to Foxiz in this child theme.
Version:        1.0
Tags:           custom-background, custom-menu, featured-images, theme-options, custom-colors, translation-ready, threaded-comments, translation-ready
License:        Themeforest Licence
License URI:    https://themeforest.net/licenses/standard
*/

/* Your CSS code goes here
-------------------------------------- */
/* Contact Form 7 Akademik Personel Başvuru Formu CSS */

.academic-form-section {
    padding: 60px 20px;
    background: #ffffff;
    min-height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.form-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #06b6d4);
}

.form-title {
    text-align: center;
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 10px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.form-subtitle {
    text-align: center;
    font-size: 1.4rem;
    color: #64748b;
    margin-bottom: 30px;
    font-weight: 500;
}

.form-description {
    text-align: center;
    font-size: 1rem;
    color: #64748b;
    margin-bottom: 40px;
    line-height: 1.6;
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
}

.form-label-en {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 400;
    font-style: italic;
}

/* Contact Form 7 Özel Sınıfları */
.wpcf7-form-control.form-input,
.wpcf7-form-control.form-select,
.wpcf7-form-control.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

.wpcf7-form-control.form-input:focus,
.wpcf7-form-control.form-select:focus,
.wpcf7-form-control.form-textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.wpcf7-form-control.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 10px;
}

.form-checkbox-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8fafc;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.form-checkbox-item:hover {
    background: #e2e8f0;
}

.wpcf7-form-control.form-checkbox {
    margin-right: 10px;
    width: 18px;
    height: 18px;
    accent-color: #3b82f6;
}

.form-checkbox-label {
    font-size: 0.9rem;
    color: #1e293b;
    cursor: pointer;
}

.wpcf7-form-control.form-submit {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #3b82f6, #1e40af);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
}

.wpcf7-form-control.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.required {
    color: #ef4444;
}

.file-upload-area {
    border: 2px dashed #cbd5e1;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    background: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    margin-bottom: 10px;
}

.file-upload-area:hover {
    border-color: #3b82f6;
    background: #eff6ff;
}

.file-upload-icon {
    font-size: 2rem;
    color: #64748b;
    margin-bottom: 10px;
}

.file-upload-text {
    color: #64748b;
    font-size: 0.9rem;
}

.wpcf7-form-control.file-input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    background: #f8fafc;
    box-sizing: border-box;
}

/* Contact Form 7 Hata ve Başarı Mesajları */
.wpcf7-not-valid-tip {
    color: #ef4444;
    font-size: 0.85rem;
    margin-top: 5px;
}

.wpcf7-response-output {
    border: none;
    padding: 15px;
    border-radius: 12px;
    margin-top: 20px;
    font-weight: 500;
}

.wpcf7-mail-sent-ok {
    background: #dcfce7;
    color: #166534;
    border-left: 4px solid #22c55e;
}

.wpcf7-mail-sent-ng,
.wpcf7-validation-errors {
    background: #fef2f2;
    color: #dc2626;
    border-left: 4px solid #ef4444;
}

.wpcf7-spam-blocked {
    background: #fef3c7;
    color: #92400e;
    border-left: 4px solid #f59e0b;
}

/* Checkbox ve Radio Button Özelleştirmeleri */
.wpcf7-list-item {
    margin: 0;
    padding: 0;
}

.wpcf7-list-item-label {
    font-size: 0.9rem;
    color: #1e293b;
    cursor: pointer;
    margin-left: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .academic-form-section {
        padding: 40px 15px;
    }

    .form-container {
        padding: 30px 20px;
    }

    .form-title {
        font-size: 1.8rem;
    }

    .form-subtitle {
        font-size: 1.2rem;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .form-checkbox-group {
        grid-template-columns: 1fr;
    }
}

/* WordPress uyumluluğu için */
.wp-block-html {
    margin: 0;
}

/* Contact Form 7 Spinner */
.wpcf7-spinner {
    visibility: hidden;
}

.wpcf7-submitting .wpcf7-spinner {
    visibility: visible;
    display: inline-block;
    width: 16px;
    height: 16px;
    margin-left: 10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Form Gönderilirken Buton Devre Dışı */
.wpcf7-submitting .wpcf7-form-control.form-submit {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}