/* Common styles */
:root {
    --primary-green: #24823d;
    --hover-green: #219653;
    --text-dark: #1e1e1e;
    --text-gray: #666;
    --border-light: #eaeaea;
    --box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    --hover-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

/* Careers Listing Page Styles */
.careers-section {
    padding: 80px 0;
    background: #fff;
}

.current-opportunities {
    max-width: 1200px;
    margin: 0 auto;
}

.current-opportunities h2 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-dark);
}

/* Job Card Styling */
.job-card {
    background: #ffffff;
    border: 1px solid var(--border-light);
    border-radius: 15px;
    padding: 35px;
    margin-bottom: 30px;
    transition: all 0.3s ease;
    box-shadow: var(--box-shadow);
}

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

.job-card h3 {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 20px;
}

/* Job Meta Information */
.job-meta {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
}

.job-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-gray);
    font-size: 15px;
}

.job-meta span i {
    color: var(--primary-green);
}

/* Job Description */
.job-description {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 25px;
}

/* Apply Button */
.view-details-btn {
    display: inline-flex;
    align-items: center;
    padding: 12px 30px;
    background: var(--primary-green);
    color: #ffffff;
    border-radius: 50px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.view-details-btn:hover {
    background: var(--hover-green);
    color: #ffffff;
    transform: translateY(-2px);
}

/* Job Details Page Styles */
.job-detail-section {
    padding: 80px 0;
    background: #fff;
}

.job-header {
    margin-bottom: 40px;
    text-align: left;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 30px;
}

.job-header h1 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

/* Social Share */
.social-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap; /* Add this */
}

.share-text {
    color: var(--text-gray);
    font-size: 15px;
}

.linkedin-share {
    background: #24823d;

    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    transition: opacity 0.2s;
    display: inline-block; /* Add this */
    width: fit-content; /* Add this */
}

.linkedin-share:hover {
    background: #0077b5;
    color: white;
}

/* Job Content */
.job-content {
    background: #fff;
    border-radius: 15px;
    margin-top: 30px;
}

.requirements-section {
    margin-top: 40px;
}

.requirements-section h2 {
    color: var(--text-dark);
    font-size: 24px;
    margin-bottom: 20px;
}

.requirements-section h3 {
    color: var(--text-dark);
    font-size: 20px;
    margin: 25px 0 15px;
}

.requirements-section ul {
    padding-left: 20px;
    margin-bottom: 30px;
}

.requirements-section li {
    color: var(--text-gray);
    margin-bottom: 12px;
    line-height: 1.6;
}

/* Application Form */
.application-form-wrapper {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
    position: sticky;
    top: 20px;
}

.application-form-wrapper h3 {
    margin-bottom: 25px;
    font-size: 24px;
    color: var(--text-dark);
}

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

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid var(--border-light);
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 15px;
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--primary-green);
    outline: none;
    box-shadow: 0 0 0 3px rgba(36, 130, 61, 0.1);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-gray);
    font-size: 15px;
}

button[type="submit"] {
    width: 100%;
    padding: 14px;
    background: var(--primary-green);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

button[type="submit"]:hover {
    background: var(--hover-green);
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .job-content {
        flex-direction: column;
    }

    .application-form-wrapper {
        position: static;
        margin-top: 40px;
    }
}

@media (max-width: 768px) {
    .job-meta {
        flex-direction: column;
        gap: 12px;
    }

    .job-card {
        padding: 25px;
    }

    .job-header h1 {
        font-size: 32px;
    }

    .current-opportunities h2 {
        font-size: 32px;
    }

    .social-share {
        align-items: flex-start; /* Add this */
    }

    .share-text {
        width: 100%; /* Add this */
        margin-bottom: 5px; /* Add this */
    }
}
/*new css*/
.step-indicator {
    margin-bottom: 30px;
    text-align: center;
}

.progress-bar {
    height: 4px;
    background: var(--border-light);
    border-radius: 2px;
    margin-bottom: 10px;
}

.progress {
    height: 100%;
    background: var(--primary-green);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 33.33%;
}

.step-text {
    color: var(--text-gray);
    font-size: 14px;
}

.preview-section {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.preview-item {
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-light);
}

.preview-item:last-child {
    border-bottom: none;
}

.preview-item strong {
    display: block;
    color: var(--text-dark);
    margin-bottom: 5px;
}

.form-navigation {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    margin-top: 20px;
}

.form-navigation button {
    min-width: 120px;
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--primary-green);
    color: var(--primary-green);
}

.btn-secondary:hover {
    /* background: var(--border-light); */
}

/* Add these error handling styles to your existing CSS */
.form-group .error {
    border-color: #dc3545;
}

.error-message {
    color: #dc3545;
    font-size: 12px;
    margin-top: 4px;
}
