/* Müşteri İlişkileri Formu - Modern Stil */

.customer_relations_form_section {
   /* padding: 60px 0;*/
    background: #f8f9fa;
}

.form_description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
}

.form_description p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Modern Form Stilleri */
.modern_form {
    background: #ffffff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    margin: 0 auto;
}

.form_row {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.form_group {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.form_group.full_width {
    width: 100%;
}

.form_group label {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    display: block;
}

.form_group label .required {
    color: #e63946;
    margin-left: 2px;
}

.form_input,
.form_select,
.form_textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 15px;
    color: #333;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-family: inherit;
    box-sizing: border-box;
}

.form_input:focus,
.form_select:focus,
.form_textarea:focus {
    outline: none;
    border-color: #e63946;
    box-shadow: 0 0 0 3px rgba(230, 57, 70, 0.1);
}

.form_input::placeholder,
.form_textarea::placeholder {
    color: #999;
}

.form_textarea {
    resize: vertical;
    min-height: 80px;
    line-height: 1.6;
}

.form_select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px;
    padding-right: 40px;
}

.validation_message {
    font-size: 13px;
    color: #e63946;
    margin-top: 5px;
    display: none;
}

.validation_message:not(:empty) {
    display: block;
}

/* KVKK Checkbox Stilleri */
input[type="checkbox"] {
    appearance: auto !important;
    -webkit-appearance: checkbox !important;
    -moz-appearance: checkbox !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    cursor: pointer !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 2px solid #D11317 !important;
    border-radius: 3px !important;
    background-color: #ffffff !important;
    flex-shrink: 0 !important;
    display: inline-block !important;
    vertical-align: middle !important;
}

input[type="checkbox"]:checked {
    background-color: #D11317 !important;
    border-color: #D11317 !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='white' d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Form Footer */
.form_footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 35px;
    padding-top: 25px;
    border-top: 2px solid #f0f0f0;
}

.required_info {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.submit_btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #e63946 0%, #c81e2b 100%);
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    padding: 14px 32px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.submit_btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.submit_btn:active {
    transform: translateY(0);
}

.submit_btn i {
    font-size: 18px;
}

/* Alert Kutuları */
.error_alert,
.success_alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-top: 20px;
    font-size: 15px;
    line-height: 1.5;
    animation: slideDown 0.3s ease;
}

.error_alert {
    background: #fee;
    border-left: 4px solid #e63946;
    color: #c81e2b;
}

.success_alert {
    background: #d4edda;
    border-left: 4px solid #28a745;
    color: #155724;
}

/* Loading Overlay */
.loading_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.loading_spinner {
    background: #ffffff;
    padding: 40px 50px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #e63946;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.loading_spinner p {
    font-size: 16px;
    color: #333;
    margin: 0;
    font-weight: 500;
}

/* Animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Tasarım */
@media (max-width: 768px) {
    .modern_form {
        padding: 25px 20px;
        border-radius: 12px;
    }
    
    .form_row {
        flex-direction: column;
        gap: 0;
        margin-bottom: 20px;
    }
    
    .form_group {
        width: 100%;
        margin-bottom: 20px;
    }
    
    .form_footer {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .submit_btn {
        width: 100%;
        justify-content: center;
    }
    
    .form_description p {
        font-size: 16px;
    }
    
    .loading_spinner {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .customer_relations_form_section {
        padding: 40px 0;
    }
    
    .modern_form {
        padding: 20px 15px;
    }
    
    .form_input,
    .form_select,
    .form_textarea {
        font-size: 14px;
        padding: 10px 12px;
    }
    
    .submit_btn {
        font-size: 15px;
        padding: 12px 24px;
    }
}

