/* FEMA Job Portal Styles */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    height: 100vh;
    overflow: hidden;
}

/* FEMA Background */
.fema-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/background.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -1;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.modal-container {
    width: 90%;
    max-width: 500px;
}

.modal-content {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

/* Modal Header */
.modal-header {
    text-align: center;
    padding: 20px 20px 15px;
    background: white;
}

.modal-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    margin-bottom: 10px;
}

.modal-header h2 {
    font-size: 1.5rem;
    color: #333;
    margin: 0 0 5px 0;
    font-weight: 600;
}

.modal-header h3 {
    font-size: 1.1rem;
    color: #666;
    margin: 0;
    font-weight: normal;
}

/* Job Info Badge */
.job-info {
    text-align: center;
    padding: 0 20px 20px;
}

.openings-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #666;
}

.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Job Options */
.job-options {
    padding: 0 20px 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.job-option-btn {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e5e5e5;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    color: #333;
}

.job-option-btn:hover {
    border-color: #22c55e;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(34, 197, 94, 0.2);
}

.job-option-btn .icon {
    font-size: 1.3rem;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.customer-service .icon {
    background-color: #fef3c7;
}

.full-time .icon {
    background-color: #d1fae5;
}

.cleanup-crew .icon {
    background-color: #e0e7ff;
}

.other .icon {
    background-color: #fce7f3;
}

/* Button Text Colors */
.customer-service {
    color: #92400e;
}

.full-time {
    color: #065f46;
}

.cleanup-crew {
    color: #3730a3;
}

.other {
    color: #831843;
}

/* Disclaimer */
.disclaimer {
    background-color: #f9fafb;
    padding: 15px 20px 10px;
    text-align: center;
    border-top: 1px solid #e5e5e5;
}

.disclaimer p {
    font-size: 0.75rem;
    color: #6b7280;
    margin: 0;
    line-height: 1.4;
}

/* Footer Links */
.footer-links {
    background-color: #f9fafb;
    padding: 0 20px 15px;
    text-align: center;
    font-size: 0.75rem;
}

.footer-links a {
    color: #6b7280;
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #003366;
    text-decoration: underline;
}

.footer-links .separator {
    color: #d1d5db;
    margin: 0 8px;
}

/* Responsive Design */
@media (max-width: 600px) {
    .modal-container {
        width: 95%;
        margin: 20px;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }
    
    .modal-header h3 {
        font-size: 1rem;
    }
    
    .job-option-btn {
        font-size: 0.9rem;
        padding: 14px 16px;
    }
}

/* Additional styles for other pages */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

header {
    background-color: #003366;
    color: white;
    padding: 2rem 0;
    text-align: center;
    margin-bottom: 2rem;
}

.header-content {
    position: relative;
    z-index: 1;
}

.fema-logo {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    display: block;
}

.fema-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.3));
}

header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

.search-section {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    margin-bottom: 2rem;
}

.search-form {
    display: grid;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #003366;
}

.form-group input, .form-group select {
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 1rem;
}

.form-group input:focus {
    outline: none;
    border-color: #003366;
}

.search-button {
    background-color: #dc2626;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 4px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-button:hover {
    background-color: #b91c1c;
}

.job-categories {
    margin-bottom: 2rem;
}

.job-categories h2 {
    color: #003366;
    margin-bottom: 1.5rem;
    text-align: center;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: white;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333;
    transition: transform 0.3s, box-shadow 0.3s;
    border-left: 4px solid transparent;
}

.category-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    border-left-color: #dc2626;
}

.category-card h3 {
    color: #003366;
    margin-bottom: 0.5rem;
}

.job-count {
    text-align: center;
    padding: 1rem;
    background: white;
    border-radius: 8px;
    margin-bottom: 2rem;
}

footer {
    background-color: #003366;
    color: white;
    text-align: center;
    padding: 1.5rem 0;
    margin-top: 3rem;
}

.back-link {
    display: inline-block;
    margin-bottom: 1rem;
    color: #003366;
    text-decoration: none;
}

.back-link:hover {
    text-decoration: underline;
}
/* Progress Bar Styles */
.progress-bar {
    background: white;
    border-radius: 8px;
    padding: 1rem;
    margin-bottom: 2rem;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.progress-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.progress-step {
    flex: 1;
    text-align: center;
    position: relative;
    z-index: 1;
}

.progress-step::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    right: -50%;
    height: 2px;
    background: #e5e5e5;
    z-index: -1;
}

.progress-step:last-child::before {
    display: none;
}

.progress-step.active .step-number {
    background: #dc2626;
    color: white;
}

.progress-step.completed .step-number {
    background: #22c55e;
    color: white;
}

.progress-step.completed::before {
    background: #22c55e;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #e5e5e5;
    color: #999;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 0.5rem;
    font-weight: bold;
}

.step-label {
    font-size: 0.875rem;
    color: #666;
}

/* Form Input Focus States */
input:focus, select:focus, textarea:focus {
    outline: none;
    border-color: #003366;
    box-shadow: 0 0 0 3px rgba(0, 51, 102, 0.1);
}

/* Error States */
.error {
    border-color: #dc2626 !important;
}

.error-message {
    color: #dc2626;
    font-size: 0.75rem;
    margin-top: 0.25rem;
    display: none;
}

/* Success States */
.success {
    border-color: #22c55e !important;
}