/* Career Page Specific Styles */

.career-section {
    padding: 60px 0;
}

.career-header .career-title {
    font-size: 32px;
    font-weight: 700;
    color: #0D3A50;
    margin-bottom: 10px;
}

.career-header .career-subtitle {
    font-size: 16px;
    color: #555;
}

.career-card {
    border: none;
    border-radius: 12px;
    box-shadow: 0px 5px 25px rgba(0, 0, 0, 0.08);
    background: #fff;
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    color: #3b467f;
    margin-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 10px;
}

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

/* Custom Input Groups */
.custom-input-group .input-group-text {
    background-color: #f8f9fc;
    border-right: none;
    border-color: #e4e8eb;
    color: #5b6987;
}

.custom-input-group .form-control,
.custom-input-group .form-select {
    background-color: #f8f9fc;
    border-left: none;
    border-color: #e4e8eb;
    box-shadow: none;
    font-size: 14px;
    color: #333;
}

/* Fix for select when it has no icon on the left (e.g. Months dropdown) */
.custom-input-group .form-select:first-child {
    border-left: 1px solid #e4e8eb;
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}

.custom-input-group .form-control:focus,
.custom-input-group .form-select:focus {
    border-color: #0D3A50;
    box-shadow: none;
    background-color: #fff;
}

.custom-input-group .form-control:focus ~ .input-group-text,
.input-group-text:has(+ .form-control:focus) {
    border-color: #0D3A50;
    background-color: #fff;
}

/* Form Validation Styles overlay */
.was-validated .form-control:valid, .form-control.is-valid,
.was-validated .form-select:valid, .form-select.is-valid {
    border-color: #198754;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%23198754' d='M2.3 6.73L.6 4.53c-.4-1.04.46-1.4 1.1-.8l1.1 1.4 3.4-3.8c.6-.63 1.6-.27 1.2.7l-4 4.6c-.43.5-.8.4-1.1.1z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

.was-validated .form-control:invalid, .form-control.is-invalid,
.was-validated .form-select:invalid, .form-select.is-invalid {
    border-color: #dc3545;
    padding-right: calc(1.5em + 0.75rem);
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23dc3545'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath stroke-linejoin='round' d='M5.8 3.6h.4L6 6.5z'/%3e%3ccircle cx='6' cy='8.2' r='.6' fill='%23dc3545' stroke='none'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right calc(0.375em + 0.1875rem) center;
    background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
}

/* File upload custom input */
.file-upload-group input[type="file"] {
    padding: 8px;
    background-color: #f8f9fc;
}

/* Submit Button */
.btn-career-submit {
    background-color: #2b7095;
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 16px;
    border: none;
    transition: all 0.3s ease;
}

.btn-career-submit:hover {
    background-color: #0D3A50;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(13, 58, 80, 0.3);
}

/* Intl-tel-input fix for custom input group */
.career-card .iti {
    display: block;
    width: 100%;
}
.career-card .iti__input {
    width: 100% !important;
    height: 38px; /* Match form-control default height */
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}
