/* Back to Jobs Button */
.back-to-jobs-btn {
    display: inline-flex;
    align-items: center;
    background-color: #f8f9fa;
    color: #3147FF;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.back-to-jobs-btn:hover {
    background-color: #3147FF;
    color: white;
    border-color: #3147FF;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(49, 71, 255, 0.3);
}

.back-to-jobs-btn i {
    margin-right: 8px;
}

/* Success and Error Messages */
.success-message {
    background-color: #d4edda;
    color: #155724;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #c3e6cb;
    margin: 20px 0;
    font-weight: 500;
}

.error-message {
    background-color: #f8d7da;
    color: #721c24;
    padding: 12px 20px;
    border-radius: 8px;
    border: 1px solid #f5c6cb;
    margin: 20px 0;
    font-weight: 500;
}

/* Hero Section Styles */
.job-hero-section {
    background: linear-gradient(135deg, #3147FF 0%, #1023caff 100%);
    color: white;
    padding: 100px 0 80px;
    text-align: center;
}

.job-breadcrumb {
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.job-breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.job-breadcrumb span {
    color: white;
    font-weight: 500;
}

.job-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 20px;
    font-family: 'Lexend', sans-serif;
}

.job-meta {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.job-meta span {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* Job Details Section */
.job-details-section {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.job-description {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.job-description h2 {
    color: #2c3e50;
    font-size: 2rem;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
}

.job-description h3 {
    color: #34495e;
    font-size: 1.4rem;
    margin: 30px 0 15px;
    font-weight: 600;
    font-family: 'Lexend', sans-serif;
}

.job-description p {
    color: #555;
    line-height: 1.7;
    margin-bottom: 20px;
}

.job-description ul {
    color: #555;
    line-height: 1.7;
    padding-left: 20px;
}

.job-description li {
    margin-bottom: 8px;
}

/* Application Form */
.application-form {
    background: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.application-form h2 {
    color: #2c3e50;
    font-size: 1.8rem;
    margin-bottom: 30px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #2c3e50;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #3147FF;
}

/* Job Summary & Benefits */
.job-summary,
.job-benefits {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    margin-bottom: 30px;
}

.job-summary h3,
.job-benefits h3 {
    color: #2c3e50;
    font-size: 1.4rem;
    margin-bottom: 20px;
    font-weight: 700;
    font-family: 'Lexend', sans-serif;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item strong {
    color: #2c3e50;
}

.job-benefits ul {
    list-style: none;
    padding: 0;
}

.job-benefits li {
    padding: 8px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.job-benefits li:before {
    content: "✓";
    color: #27ae60;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: #3147FF;
    color: white;
    padding: 14px 32px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-top: 10px;
}

.btn-primary:hover {
    background-color: #2537d4;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background-color: white;
    color: #0d6efd;
}

/* Form enhancements */
.job-application-form .form-group label:after {
    content: " *";
    color: #e74c3c;
}

.job-application-form textarea {
    resize: vertical;
    min-height: 120px;
}

.job-application-form input[type="file"] {
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 2px dashed #dee2e6;
}

.job-application-form input[type="file"]:focus {
    border-color: #3147FF;
    background-color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .job-title {
        font-size: 2.2rem;
    }
    
    .job-meta {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .job-description,
    .application-form,
    .job-summary,
    .job-benefits {
        padding: 25px;
    }
    
    .summary-item {
        flex-direction: column;
        gap: 5px;
    }
}

/* CTA Section Heading */
.cta-text-block .heading-md {
    font-family: 'Lexend', sans-serif;
}