/* Resources.css */

.resources-container {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 100vh;
    background-color: #f9fafb;
}

.resources-content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.resources-header {
    text-align: center;
    margin-bottom: 3rem;
}

.resources-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.resources-subtitle {
    color: #4b5563;
    font-size: 1.125rem;
}

/* Tabs */
.resources-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 3rem;
    gap: 1rem;
    flex-wrap: wrap;
}

.tab-button {
    padding: 0.75rem 1.5rem;
    border-radius: 9999px;
    font-weight: 600;
    font-size: 1rem;
    background-color: white;
    color: #4b5563;
    border: 1px solid #e5e7eb;
    cursor: pointer;
    transition: all 0.2s;
}

.tab-button:hover {
    background-color: #f3f4f6;
    color: #111827;
}

.tab-button.active {
    background-color: #2563eb;
    color: white;
    border-color: #2563eb;
    box-shadow: 0 4px 6px -1px rgba(37, 99, 235, 0.2);
}

/* Two Column Layout for 'All' tab */
.resources-all-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
}

@media (min-width: 1024px) {
    .resources-all-grid {
        grid-template-columns: repeat(2, 1fr);
        align-items: start;
    }
}

.resources-section {
    margin-bottom: 2rem;
}

/* List Layout */
.resources-list {
    background: white;
    border-radius: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    padding: 0 1.5rem;
    display: flex;
    flex-direction: column;
}

/* Section specific */
.section-heading {
    border-left: 4px solid #2563eb;
    padding-left: 1rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1.5rem;
}

.empty-message {
    text-align: center;
    padding: 3rem;
    color: #6b7280;
    background: white;
    border-radius: 1rem;
    width: 100%;
}

.resource-helper-text {
    text-align: center;
    margin-top: 1rem;
    padding: 1rem;
    background-color: #eff6ff;
    border-radius: 0.5rem;
    color: #1e40af;
    font-size: 0.9rem;
}