/* İnsan Kaynakları Page Specific Styles */

.job-application-form-wrapper {
    background: #f8f9fa;
    border-radius: 15px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid #e9ecef;
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
}

.form-title {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 15px;
}

.form-description {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.job-application-form {
    max-width: 100%;
}

.form-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #e9ecef;
}

.form-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
}

.section-title {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
    display: inline-block;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
}

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

.form-label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-label.required::after {
    content: " *";
    color: #dc3545;
}

.form-input,
.form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fff;
}

.form-input:focus,
.form-textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

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

.form-help {
    font-size: 12px;
    color: #666;
    margin-top: 5px;
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 10px;
}

.form-checkbox {
    width: 18px;
    height: 18px;
    margin: 0;
    cursor: pointer;
    accent-color: #007bff;
}

.checkbox-label {
    font-size: 14px;
    color: #333;
    line-height: 1.5;
    cursor: pointer;
    margin: 0;
    flex: 1;
}

.kvkk-link {
    color: #007bff;
    text-decoration: underline;
    font-weight: 600;
    transition: color 0.3s ease;
}

.kvkk-link:hover {
    color: #0056b3;
    text-decoration: none;
}

.kvkk-link:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
    border-radius: 2px;
}

/* File Upload Styles */
.file-upload-area {
    border: 2px dashed #007bff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    background: #f8f9ff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
}

.file-upload-area:hover {
    border-color: #0056b3;
    background: #f0f4ff;
}

.file-upload-area.dragover {
    border-color: #28a745;
    background: #f0fff4;
}

.file-upload-content {
    pointer-events: none;
}

.file-upload-content i {
    font-size: 48px;
    color: #007bff;
    margin-bottom: 15px;
    display: block;
}

.file-upload-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 8px;
}

.file-browse {
    color: #007bff;
    font-weight: 600;
    text-decoration: underline;
}

.file-upload-hint {
    font-size: 12px;
    color: #666;
    margin: 0;
}

.file-input {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    cursor: pointer;
}

.file-preview {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #e9ecef;
    padding: 15px;
    border-radius: 8px;
    margin-top: 15px;
}

.file-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.file-info i {
    font-size: 24px;
    color: #007bff;
}

.file-name {
    font-weight: 600;
    color: #333;
}

.file-size {
    font-size: 12px;
    color: #666;
}

.file-remove {
    background: #dc3545;
    color: #fff;
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.file-remove:hover {
    background: #c82333;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid #e9ecef;
}

.mediox-btn {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.mediox-btn:hover {
    background: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.3);
}

.mediox-btn:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Alert Messages */
.alert {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    border-radius: 8px;
    color: #fff;
    font-weight: 600;
    z-index: 1000;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 300px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.alert-success {
    background: #28a745;
}

.alert-error {
    background: #dc3545;
}

.alert i {
    font-size: 20px;
}

/* Loading State */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::after {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid #fff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .job-application-form-wrapper {
        padding: 20px;
        margin: 20px 10px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    
    .form-title {
        font-size: 24px;
    }
    
    .section-title {
        font-size: 18px;
    }
    
    .alert {
        position: relative;
        top: auto;
        right: auto;
        margin: 20px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .job-application-section {
        padding: 40px 0;
    }
    
    .job-application-form-wrapper {
        padding: 15px;
    }
    
    .file-upload-area {
        padding: 20px;
    }
    
    .mediox-btn {
        padding: 12px 30px;
        font-size: 14px;
    }
}
