/* Jobs Page Styles */
.our-jobs {
    padding: 100px 0;
    background-color: #f8f9fa;
}

.job-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.job-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.job-type-badge {
    background: #007bff;
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.job-type-badge.part-time {
    background: #28a745;
}

.job-type-badge.contract {
    background: #ffc107;
    color: #000;
}

.job-location {
    display: flex;
    align-items: center;
    color: #6c757d;
    font-size: 14px;
}

.job-location i {
    margin-right: 5px;
    color: #007bff;
}

.job-content h3 {
    margin-bottom: 15px;
    font-size: 20px;
    font-weight: 600;
}

.job-content h3 a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.job-content h3 a:hover {
    color: #007bff;
}

.job-content p {
    color: #6c757d;
    line-height: 1.6;
    margin-bottom: 20px;
}

.job-skills {
    margin-bottom: 20px;
}

.skill-tag {
    display: inline-block;
    background: #f8f9fa;
    color: #495057;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    margin-right: 8px;
    margin-bottom: 8px;
    border: 1px solid #dee2e6;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid #e9ecef;
}

.job-salary {
    font-weight: 600;
    color: #28a745;
    font-size: 16px;
}

.job-apply .btn-default {
    padding: 12px 30px;
    font-size: 14px;
    border-radius: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.job-apply .btn-default::before {
    display: none !important;
}

.job-apply .btn-default:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Job Details Page Styles */
.job-details {
    padding: 80px 0;
}

.job-info-sidebar {
    background: #fff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    margin-bottom: 30px;
    position: sticky;
    top: 100px;
}

.job-skills-section h3,
.job-details-info h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
}

.job-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
}

.job-detail-item {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e9ecef;
}

.job-detail-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.detail-icon {
    width: 40px;
    height: 40px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #007bff;
}

.detail-content h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.detail-content p {
    margin: 0;
    color: #6c757d;
    font-size: 14px;
}

.job-apply-section {
    margin-top: 30px;
}

.btn-full {
    width: 100%;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    border-radius: 25px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
}

.btn-full::before {
    display: none !important;
}

.btn-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.job-content {
    background: #fff;
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
}

.job-section {
    margin-bottom: 40px;
}

.job-section h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #007bff;
}

.job-section p {
    color: #6c757d;
    line-height: 1.8;
    margin-bottom: 15px;
}

.responsibilities-list,
.qualifications-list,
.additional-qualifications-list {
    list-style: none;
    padding: 0;
}

.responsibilities-list li,
.qualifications-list li,
.additional-qualifications-list li {
    padding: 10px 0;
    border-bottom: 1px solid #f8f9fa;
    position: relative;
    padding-left: 25px;
    color: #6c757d;
    line-height: 1.6;
}

.responsibilities-list li,
.qualifications-list li,
.additional-qualifications-list li {
    position: relative;
    padding-left: 25px;
}

.responsibilities-list li:before,
.qualifications-list li:before,
.additional-qualifications-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 10px;
    color: #28a745;
    font-weight: bold;
    font-size: 14px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: #e9ecef;
    transform: translateY(-2px);
}

.benefit-item i {
    color: #007bff;
    margin-right: 10px;
    font-size: 18px;
}

.benefit-item span {
    font-weight: 500;
    color: #333;
}

/* Apply Job Modal Styles */
#applyJobModal .modal-content {
    border-radius: 15px;
    border: none;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

#applyJobModal .modal-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 15px 15px 0 0;
    padding: 20px 30px;
    border-bottom: none;
}

#applyJobModal .modal-title {
    font-size: 24px;
    font-weight: 600;
    margin: 0;
}

#applyJobModal .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

#applyJobModal .btn-close:hover {
    opacity: 1;
}

#applyJobModal .modal-body {
    padding: 30px;
}

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

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

#applyJobModal .form-control {
    border: 2px solid #e9ecef;
    border-radius: 8px;
    padding: 12px 15px;
    font-size: 14px;
    transition: all 0.3s ease;
}

#applyJobModal .form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

#applyJobModal .form-control::placeholder {
    color: #adb5bd;
}

#applyJobModal .form-text {
    font-size: 12px;
    color: #6c757d;
    margin-top: 5px;
}

#applyJobModal .form-check {
    margin-top: 20px;
}

#applyJobModal .form-check-input {
    margin-top: 0.25em;
}

#applyJobModal .form-check-label {
    font-size: 14px;
    color: #495057;
    line-height: 1.5;
}

#applyJobModal .form-check-label a {
    color: #667eea;
    text-decoration: none;
}

#applyJobModal .form-check-label a:hover {
    text-decoration: underline;
}

#applyJobModal .modal-footer {
    border-top: 1px solid #e9ecef;
    padding: 20px 30px;
    background: #f8f9fa;
    border-radius: 0 0 15px 15px;
}

#applyJobModal .btn {
    padding: 12px 30px;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

#applyJobModal .btn-secondary {
    background: #6c757d;
    border-color: #6c757d;
    color: white;
}

#applyJobModal .btn-secondary:hover {
    background: #5a6268;
    border-color: #545b62;
    transform: translateY(-1px);
}

#applyJobModal .btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
}

#applyJobModal .btn-primary:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* File Upload Styling */
#applicantCV {
    position: relative;
}

#applicantCV::-webkit-file-upload-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 5px;
    padding: 8px 15px;
    margin-right: 10px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

#applicantCV::-webkit-file-upload-button:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

/* Form Validation Styles */
#applyJobModal .form-control.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

#applyJobModal .text-success {
    color: #28a745 !important;
    font-weight: 500;
}

#applyJobModal .btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#applyJobModal .fa-spinner {
    animation: spin 1s linear infinite;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .job-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .job-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }
    
    .job-apply .btn-default {
        width: 100%;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .job-info-sidebar {
        position: static;
        margin-bottom: 30px;
    }
    
    #applyJobModal .modal-dialog {
        margin: 10px;
    }
    
    #applyJobModal .modal-body {
        padding: 20px;
    }
    
    #applyJobModal .modal-footer {
        padding: 15px 20px;
    }
}
