/* Job Posting Form */
.cos-job-posting-form {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px 20px;
}

.cos-form-header {
    text-align: center;
    margin-bottom: 48px;
}

.cos-form-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.cos-form-header .cos-subtitle {
    color: #6b7280;
    font-size: 16px;
}

.cos-form {
    background: #ffffff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
}

.cos-form-step {
    display: none;
}

.cos-form-step.active {
    display: block;
    animation: fadeInUp 0.4s ease;
}

.cos-form-step h3 {
    font-size: 24px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 28px 0;
    padding-bottom: 16px;
    border-bottom: 2px solid #f3f4f6;
}

.cos-form-row {
    margin-bottom: 24px;
}

.cos-form-row.two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.cos-form-group {
    margin-bottom: 20px;
}

.cos-form-group label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px;
}

.cos-form-group label .required {
    color: #ef4444;
}

.cos-input,
.cos-textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: #f9fafb;
}

.cos-input:focus,
.cos-textarea:focus {
    outline: none;
    border-color: #FFD700;
    background: #ffffff;
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.1);
}

.cos-input-error {
    border-color: #ef4444 !important;
    background: #fef2f2 !important;
}

.cos-textarea {
    resize: vertical;
    min-height: 120px;
}

.cos-cert-selector {
    max-height: 400px;
    overflow-y: auto;
    padding: 16px;
    background: #f9fafb;
    border-radius: 8px;
    border: 2px solid #e5e7eb;
}

.cos-cert-category {
    margin-bottom: 20px;
}

.cos-cert-category strong {
    display: block;
    font-size: 13px;
    color: #111827;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.cos-cert-category .cos-checkbox-label {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: #4b5563;
    cursor: pointer;
}

.cos-cert-category .cos-checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.cos-form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

/* Job Preview (Step 3) */
.cos-job-preview {
    background: #f9fafb;
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 24px;
}

.cos-preview-section {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid #e5e7eb;
}

.cos-preview-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.cos-preview-section h4 {
    font-size: 16px;
    font-weight: 700;
    color: #111827;
    margin: 0 0 12px 0;
}

.cos-preview-section p {
    font-size: 14px;
    color: #4b5563;
    margin: 8px 0;
    line-height: 1.6;
}

.cos-preview-section p strong {
    color: #111827;
    font-weight: 600;
}

/* Notices */
.cos-notice {
    padding: 16px 20px;
    border-radius: 8px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.6;
}

.cos-notice-info {
    background: #dbeafe;
    color: #1e40af;
    border-left: 4px solid #3b82f6;
}

.cos-notice-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.cos-notice-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

.cos-form-message {
    margin-top: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .cos-form {
        padding: 24px 20px;
    }

    .cos-form-row.two-col {
        grid-template-columns: 1fr;
    }

    .cos-form-header h2 {
        font-size: 24px;
    }

    .cos-form-step h3 {
        font-size: 20px;
    }
}