/* Careers Page Specific Styles */

/* Benefits Grid */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.benefit-card {
    padding: 2rem;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    text-align: center;
    transition: all 0.3s;
}

.benefit-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    transform: translateY(-2px);
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.benefit-description {
    font-size: 0.9375rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Jobs List */
.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.job-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 0.75rem;
    overflow: hidden;
    transition: all 0.3s;
}

.job-card:hover {
    border-color: rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.job-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    cursor: pointer;
    transition: background 0.2s;
}

.job-header:hover {
    background: rgba(255, 255, 255, 0.02);
}

.job-info {
    flex: 1;
}

.job-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--foreground);
}

.job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.job-tag {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--foreground);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 0.375rem;
}

.job-chevron {
    flex-shrink: 0;
    color: var(--muted-foreground);
    transition: transform 0.3s;
}

.job-card.active .job-chevron {
    transform: rotate(180deg);
}

.job-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.job-content.active {
    max-height: 1000px;
    transition: max-height 0.5s ease-in;
    padding: 0 2rem 2rem;
}

.job-description {
    font-size: 1rem;
    color: var(--muted-foreground);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.job-section-title {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    margin-top: 1.5rem;
    color: var(--foreground);
}

.job-list {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
}

.job-list li {
    margin-bottom: 0.5rem;
    color: var(--muted-foreground);
    line-height: 1.6;
}

.job-apply-btn {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    color: var(--background);
    background: linear-gradient(135deg, var(--primary) 0%, hsl(0, 0%, 85%) 100%);
    border: none;
    border-radius: 0.5rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: inherit;
    margin-top: 1rem;
}

.job-apply-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

/* Application Form */
.application-form {
    max-width: 700px;
    margin: 2rem auto 0;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-file {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: var(--foreground);
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 0.5rem;
    transition: all 0.2s;
    font-family: inherit;
    cursor: pointer;
}

.form-file:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.form-hint {
    font-size: 0.75rem;
    color: var(--muted-foreground);
    margin-top: 0.5rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .job-header {
        padding: 1.25rem 1.5rem;
    }
    
    .job-title {
        font-size: 1.25rem;
    }
    
    .job-content.active {
        padding: 0 1.5rem 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}
