/* Careers page styling */
.careers-container {
    padding-bottom: 2rem;
}

/* Job category badges */
.job-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.job-badge.engineering {
    background-color: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
}

.job-badge.data-science {
    background-color: rgba(139, 92, 246, 0.1);
    color: #8b5cf6;
}

.job-badge.product {
    background-color: rgba(16, 185, 129, 0.1);
    color: #10b981;
}

.job-badge.design {
    background-color: rgba(236, 72, 153, 0.1);
    color: #ec4899;
}

.job-badge.marketing {
    background-color: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
}

.job-badge.operations {
    background-color: rgba(107, 114, 128, 0.1);
    color: #6b7280;
}

.job-badge.remote {
    background-color: rgba(5, 150, 105, 0.1);
    color: #059669;
}

.job-badge.onsite {
    background-color: rgba(220, 38, 38, 0.1);
    color: #dc2626;
}

/* Dark theme overrides for badges */
.dark .job-badge.engineering {
    background-color: rgba(59, 130, 246, 0.2);
}

.dark .job-badge.data-science {
    background-color: rgba(139, 92, 246, 0.2);
}

.dark .job-badge.product {
    background-color: rgba(16, 185, 129, 0.2);
}

.dark .job-badge.design {
    background-color: rgba(236, 72, 153, 0.2);
}

.dark .job-badge.marketing {
    background-color: rgba(245, 158, 11, 0.2);
}

.dark .job-badge.operations {
    background-color: rgba(107, 114, 128, 0.2);
}

.dark .job-badge.remote {
    background-color: rgba(5, 150, 105, 0.2);
}

.dark .job-badge.onsite {
    background-color: rgba(220, 38, 38, 0.2);
}

/* Job listing styles */
.job-item {
    transition: all 0.2s ease-in-out;
}

.job-item:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.job-header {
    position: relative;
}

.job-toggle-icon i {
    transition: transform 0.2s ease;
}

.job-item.active .job-toggle-icon i {
    transform: rotate(180deg);
}

/* Category filter styles */
.job-category-filter {
    background-color: rgba(243, 244, 246, 1);
    color: rgba(55, 65, 81, 1);
    transition: all 0.2s ease;
}

.job-category-filter:hover {
    background-color: rgba(229, 231, 235, 1);
}

.job-category-filter.active {
    background-color: rgba(59, 130, 246, 1);
    color: white;
}

.dark .job-category-filter {
    background-color: rgba(55, 65, 81, 0.5);
    color: rgba(209, 213, 219, 1);
}

.dark .job-category-filter:hover {
    background-color: rgba(75, 85, 99, 0.5);
}

.dark .job-category-filter.active {
    background-color: rgba(59, 130, 246, 1);
    color: white;
}

/* Remote toggle switch */
.dot {
    transition: all 0.3s ease-in-out;
}

input:checked ~ .dot {
    transform: translateX(100%);
}

input:checked ~ div.block {
    background-color: #3b82f6;
}

.dark input:checked ~ div.block {
    background-color: #3b82f6;
}

/* FAQ accordion styles */
.faq-question {
    cursor: pointer;
}

.faq-icon {
    transition: transform 0.2s ease;
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(45deg);
}

/* Animate form appearance */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

#application-form.shown {
    display: block;
    animation: slideIn 0.3s ease forwards;
}
