/* Career Application Form Styles */
.career-form-section {
    background: #ffffff;
    padding: 80px 0;
}

.career-form-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.career-form-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4E0BD9;
    margin-bottom: 60px;
    text-align: left;
}

.form-section-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00194C;
    margin-bottom: 30px;
    margin-top: 40px;
}

.form-section-title:first-child {
    margin-top: 0;
}

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

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

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

.form-input,
.form-select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E1E5EE;
    border-radius: 8px;
    font-size: 16px;
    color: #00194C;
    background: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
    height: 60px;
}

.form-input:focus {
    outline: none;
    border-color: #4E0BD9;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(78, 11, 217, 0.1);
}

.form-select:focus {
    outline: none;
    border-color: #4E0BD9;
    background-color: #ffffff;
    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='%2396A1B8' 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 15px center;
    background-size: 20px;
    box-shadow: 0 0 0 3px rgba(78, 11, 217, 0.1);
}

.form-input::placeholder {
    color: #96A1B8;
}

.form-select {
    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='%2396A1B8' 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 15px center;
    background-size: 20px;
    padding-right: 50px;
}

.form-textarea {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #E1E5EE;
    border-radius: 8px;
    font-size: 16px;
    color: #00194C;
    background: #fafafa;
    transition: all 0.3s ease;
    box-sizing: border-box;
    min-height: 164px;
    resize: vertical;
    font-family: inherit;
}

.form-textarea:focus {
    outline: none;
    border-color: #4E0BD9;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(78, 11, 217, 0.1);
}

.form-textarea::placeholder {
    color: #96A1B8;
}

.cv-upload-area {
    border: 2px dashed #4E0BD9;
    border-radius: 8px;
    padding: 40px 20px;
    text-align: center;
    background: #ffffff;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.cv-upload-area:hover {
    border-color: #4E0BD9;
    background: #fafafa;
}

.cv-upload-area.dragover {
    border-color: #4E0BD9;
    background: #E6EEFF;
}

.cv-upload-icon {
    font-size: 2rem;
    color: #96A1B8;
    margin-bottom: 15px;
}

.cv-upload-text {
    font-size: 1.125rem;
    font-weight: 600;
    color: #4E0BD9;
    margin-bottom: 10px;
}

.cv-upload-info {
    font-size: 0.875rem;
    color: #96A1B8;
}

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

.form-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    gap: 20px;
}

.checkbox-group {
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.checkbox-input {
    width: 20px;
    height: 20px;
    margin: 0;
    cursor: pointer;
}

.checkbox-label {
    font-size: 0.875rem;
    color: #00194C;
    line-height: 1.4;
    cursor: pointer;
}

.agreement-text {
    font-weight: 700;
    color: #4E0BD9;
    text-decoration: underline;
    cursor: pointer;
    transition: all 0.3s ease;
}

.agreement-text:hover {
    color: #3A0899;
    text-decoration: none;
}

/* Privacy Popup Styles */
.privacy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.privacy-popup-overlay.show {
    display: flex;
    opacity: 1;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.privacy-popup {
    background: #ffffff;
    border-radius: 12px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: popupSlideIn 0.3s ease-out;
}

@keyframes popupSlideIn {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.privacy-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    border-bottom: 1px solid #E1E5EE;
    background: #F8FAFF;
    border-radius: 12px 12px 0 0;
}

.privacy-popup-header h3 {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: #00194C;
}

.privacy-popup-close {
    background: none;
    border: none;
    font-size: 2rem;
    color: #96A1B8;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.privacy-popup-close:hover {
    background: #E1E5EE;
    color: #00194C;
}

.privacy-popup-content {
    padding: 30px;
    overflow-y: auto;
    flex: 1;
    line-height: 1.6;
}

.privacy-popup-content h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #00194C;
    margin: 0 0 20px 0;
}

.privacy-popup-content h5 {
    font-size: 1.125rem;
    font-weight: 700;
    color: #4E0BD9;
    margin: 25px 0 15px 0;
}

.privacy-popup-content h6 {
    font-size: 1rem;
    font-weight: 700;
    color: #00194C;
    margin: 20px 0 10px 0;
}

.privacy-popup-content p {
    margin: 0 0 15px 0;
    color: #334770;
    font-size: 0.95rem;
}

.privacy-popup-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.privacy-popup-content li {
    margin: 8px 0;
    color: #334770;
    font-size: 0.95rem;
}

.privacy-popup-content strong {
    color: #00194C;
    font-weight: 700;
}

.privacy-popup-footer {
    padding: 20px 30px;
    border-top: 1px solid #E1E5EE;
    background: #F8FAFF;
    border-radius: 0 0 12px 12px;
    text-align: center;
}

.privacy-popup-btn {
    background: #4E0BD9;
    color: #ffffff;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 150px;
}

.privacy-popup-btn:hover {
    background: #3A0899;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 11, 217, 0.3);
}

.privacy-popup-btn:active {
    transform: translateY(0);
}

/* Responsive Popup */
@media (max-width: 768px) {
    .privacy-popup-overlay.show {
        padding: 10px;
    }
    
    .privacy-popup {
        max-height: 85vh;
    }
    
    .privacy-popup-header {
        padding: 20px;
    }
    
    .privacy-popup-header h3 {
        font-size: 1.25rem;
    }
    
    .privacy-popup-content {
        padding: 20px;
    }
    
    .privacy-popup-content h4 {
        font-size: 1.125rem;
    }
    
    .privacy-popup-content h5 {
        font-size: 1rem;
    }
    
    .privacy-popup-content h6 {
        font-size: 0.95rem;
    }
    
    .privacy-popup-content p,
    .privacy-popup-content li {
        font-size: 0.9rem;
    }
    
    .privacy-popup-footer {
        padding: 15px 20px;
    }
    
    .privacy-popup-btn {
        width: 100%;
        padding: 15px 30px;
    }
}

@media (max-width: 480px) {
    .privacy-popup-overlay.show {
        padding: 5px;
    }
    
    .privacy-popup-header {
        padding: 15px;
    }
    
    .privacy-popup-content {
        padding: 15px;
    }
    
    .privacy-popup-footer {
        padding: 15px;
    }
}

.submit-btn {
    background: #4E0BD9;
    color: #ffffff;
    border: none;
    padding: 15px 40px;
    border-radius: 8px;
    font-size: 1.125rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 150px;
    justify-content: center;
}

.submit-btn:hover {
    background: #3A0899;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(78, 11, 217, 0.3);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-icon {
    font-size: 1rem;
}

/* Mesleki Detaylar için özel genişlik */
.form-row.mesleki-detaylar {
    width: 50%;
}

/* Responsive Design */
@media (max-width: 768px) {
    .career-form-section {
        padding: 40px 0;
    }
    
    .career-form-title {
        font-size: 2rem;
        margin-bottom: 40px;
    }
    
    .form-row {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .form-row.mesleki-detaylar {
        width: 100%;
    }
    
    .form-row .form-group {
        margin-bottom: 25px;
    }
    
    .form-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 30px;
    }
    
    .submit-btn {
        width: 100%;
        padding: 18px 40px;
    }
    
    .cv-upload-area {
        padding: 30px 15px;
    }
}

@media (max-width: 480px) {
    .career-form-container {
        padding: 0 15px;
    }
    
    .career-form-title {
        font-size: 1.75rem;
    }
    
    .form-section-title {
        font-size: 1.125rem;
    }
    
    .form-input,
    .form-select,
    .form-textarea {
        padding: 12px 15px;
        font-size: 16px;
    }
    
    .cv-upload-area {
        padding: 25px 10px;
    }
    
    .cv-upload-text {
        font-size: 1rem;
    }
}

/* Form validation styles */
.form-input.error,
.form-textarea.error {
    border-color: #FF3C3C;
    background-color: #FFF5F5;
}

.form-select.error {
    border-color: #FF3C3C;
    background-color: #FFF5F5;
    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='%2396A1B8' 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 15px center;
    background-size: 20px;
}

.form-input.error:focus,
.form-textarea.error:focus {
    box-shadow: 0 0 0 3px rgba(255, 60, 60, 0.1);
}

.form-select.error:focus {
    background-color: #ffffff;
    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='%2396A1B8' 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 15px center;
    background-size: 20px;
    box-shadow: 0 0 0 3px rgba(255, 60, 60, 0.1);
}

.error-message {
    color: #FF3C3C;
    font-size: 0.875rem;
    margin-top: 5px;
    display: none;
}

.error-message.show {
    display: block;
}

/* Success message */
.success-message {
    background: #E6F7E6;
    border: 1px solid #219653;
    color: #219653;
    padding: 15px 20px;
    border-radius: 8px;
    margin-bottom: 30px;
    display: none;
}

.success-message.show {
    display: block;
}
