/* Progress bar styles */
.progress-bar {
    height: 10px;
    background-color: #f0f0f0;
    border-radius: 5px;
    margin-bottom: 30px;
    position: relative;
    overflow: hidden;
}

.progress {
    height: 100%;
    background-color: #0073aa;
    border-radius: 5px;
    transition: width 0.3s ease;
}

.step-indicator {
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 14px;
    color: #666;
}

/* Form styles */
.step {
    display: none;
}

.step.active {
    display: block;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.form-row .form-group {
    flex: 1;
    margin-bottom: 0;
}

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

.form-navigation button {
    padding: 10px 20px;
    background: #0073aa;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
}

.form-navigation .prev-btn {
    background: #666;
}

#form-message {
    padding: 15px;
    margin: 20px 0;
    border-radius: 4px;
    display: none;
}

#form-message.error {
    background: #ffcdd2;
    color: #c62828;
    border: 1px solid #f44336;
}

#form-message.success {
    background: #c8e6c9;
    color: #2e7d32;
    border: 1px solid #4caf50;
}

.review-section {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee;
}

.consent {
    margin-top: 30px;
}

/* Job Details Page Styles */
.job-details {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 15px rgba(0,0,0,0.1);
}

.job-details h2 {
    color: #2c3e50;
    margin-top: 0;
}

.job-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
    font-size: 16px;
    color: #666;
}

.job-specs {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.job-specs .spec {
    padding: 15px;
    background: #fff;
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.job-description {
    margin-bottom: 40px;
    line-height: 1.6;
}

.job-description h3 {
    margin-top: 0;
    padding-bottom: 10px;
    border-bottom: 2px solid #0073aa;
}

.dynamic-placeholder {
    margin: 30px 0;
    padding: 20px;
    border: 1px dashed #0073aa;
    border-radius: 8px;
    background-color: #f9f9f9;
}

.dynamic-placeholder::before {
    content: "Custom Job Information Area";
    display: block;
    font-weight: bold;
    color: #0073aa;
    margin-bottom: 10px;
}

.apply-section {
    text-align: center;
    margin-top: 30px;
}

.apply-button {
    display: inline-block;
    padding: 12px 30px;
    background: #0073aa;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s;
}

.apply-button:hover {
    background: #005a87;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Job Listings Updates */
.job-card .view-details {
    display: inline-block;
    padding: 8px 15px;
    background: #2e7d32;
    color: #fff;
    text-decoration: none;
    border-radius: 4px;
    font-weight: 600;
    margin-top: 15px;
}

.job-card .view-details:hover {
    background: #1b5e20;
}