/* Careers Page Styles - SOVBau */

/* Career Hero Section */
.careers-hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 80px 0;
    text-align: center;
}

.careers-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 700;
}

.careers-hero .lead {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* Career Form Styles */
.careers-form {
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 20px;
}

.form-card {
    background: var(--bg-white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    padding: 40px;
}

.form-card h2 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

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

.form-label .required {
    color: var(--accent-color);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    transition: var(--transition);
    background-color: var(--bg-white);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(70, 115, 175, 0.1);
}

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

/* File Upload Styles */
.file-upload {
    position: relative;
    display: inline-block;
    cursor: pointer;
    width: 100%;
}

.file-upload input[type=file] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.file-upload-label {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border: 2px dashed var(--border-color);
    border-radius: 8px;
    background: var(--bg-light);
    transition: var(--transition);
    cursor: pointer;
}

.file-upload:hover .file-upload-label,
.file-upload.highlight .file-upload-label {
    border-color: var(--primary-color);
    background: rgba(70, 115, 175, 0.05);
}

.file-upload-icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
}

.file-info {
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 8px;
}

/* Submit Button */
.submit-button {
    background: var(--primary-color);
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
    margin-top: 32px;
}

.submit-button:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

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

/* Success Message */
.alert {
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 24px;
}

.alert-success {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    color: #155724;
}

/* Why Work Section */
.why-work-section {
    padding: 60px 0;
    background: var(--bg-light);
}

.why-work-section h3 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
    color: var(--text-primary);
}

.benefit-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    height: 100%;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.benefit-icon {
    width: 48px;
    height: 48px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.benefit-card h5 {
    margin-bottom: 15px;
    color: var(--text-primary);
}

.benefit-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Section */
.contact-section {
    padding: 60px 0;
}

.contact-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.contact-card h4 {
    margin-bottom: 20px;
    color: var(--text-primary);
}

.contact-card p {
    margin-bottom: 20px;
    color: var(--text-secondary);
}

.contact-info-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.contact-info-item svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
}

.contact-info-item a {
    color: var(--primary-color);
    font-weight: 500;
}

.contact-info-item a:hover {
    color: var(--primary-dark);
}

/* Form Validation Styles */
.form-input:invalid,
.form-textarea:invalid,
.form-select:invalid {
    border-color: var(--accent-color);
}

.form-input:valid,
.form-textarea:valid,
.form-select:valid {
    border-color: var(--success-color);
}

/* Checkbox Styles */
.form-check {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 24px;
}

.form-check-input {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-check-label {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.5;
    cursor: pointer;
}

.form-check-label a {
    color: var(--primary-color);
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .careers-hero h1 {
        font-size: 2rem;
    }
    
    .careers-hero .lead {
        font-size: 1.1rem;
    }
    
    .form-card {
        padding: 25px;
    }
    
    .why-work-section h3 {
        font-size: 1.5rem;
    }
    
    .benefit-card {
        margin-bottom: 20px;
    }
}