/* --- SCOPED CSS FOR WELFARE SCHEMES PAGE --- */
.ws-header-container {
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
}

.ws-header-text {
    margin-bottom: 16px;
}

    .ws-header-text h1 {
        font-size: 22px;
        font-weight: 700;
        color: #3f3f46;
        margin: 0 0 6px 0;
    }

    .ws-header-text p {
        font-size: 14px;
        color: #52525b;
        margin: 0;
    }

/* Category Tabs / Pills */
.ws-tabs-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.ws-tab {
    background-color: #ffffff;
    border: 1px solid #d4d4d8;
    color: #71717a;
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

    .ws-tab:hover:not(.active) {
        border-color: #a1a1aa;
        color: #3f3f46;
        background-color: #fafafa;
    }

    /* Active State (Green) */
    .ws-tab.active {
        border-color: #059669;
        color: #059669;
        font-weight: 600;
        background-color: #F5FEFA;
    }

/* --- Welfare Schemes Grid Section --- */
.ws-schemes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 32px;
    margin-bottom: 32px;
    font-family: 'Inter', sans-serif;
}

.ws-scheme-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transition: transform 0.2s, box-shadow 0.2s;
}

    .ws-scheme-card:hover {
        transform: translateY(-2px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.04);
    }

/* Card Theme Borders */
.ws-theme-medical {
    border: 1px solid #86efac;
}

.ws-theme-wedding {
    border: 1px solid #f9a8d4;
}

.ws-theme-house {
    border: 1px solid #fdba74;
}

.ws-theme-edu {
    border: 1px solid #d8b4fe;
}

.ws-theme-bday {
    border: 1px solid #fca5a5;
}

.ws-theme-death {
    border: 1px solid #cbd5e1;
}

/* Icon Wrappers */
.ws-icon-wrap {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

    /* Ensure the image fits the icon wrap perfectly */
    .ws-icon-wrap img {
        width: 24px;
        height: 24px;
        object-fit: contain;
    }

.ws-theme-medical .ws-icon-wrap {
    background-color: #ecfdf5;
}

.ws-theme-wedding .ws-icon-wrap {
    background-color: #fdf2f8;
}

.ws-theme-house .ws-icon-wrap {
    background-color: #fff7ed;
}

.ws-theme-edu .ws-icon-wrap {
    background-color: #faf5ff;
}

.ws-theme-bday .ws-icon-wrap {
    background-color: #fff1f2;
}

.ws-theme-death .ws-icon-wrap {
    background-color: #f8fafc;
}

/* Card Content */
.ws-scheme-title {
    font-size: 16px;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.ws-scheme-desc {
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
    margin: 0;
    flex-grow: 1;
}

/* Stats 2x2 Grid */
.ws-stats-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.ws-stat-box {
    background-color: #F8F8F8;
    border-radius: 8px;
    padding: 12px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ws-stat-label {
    font-size: 11px;
    color: #94a3b8;
    font-weight: 500;
}

.ws-stat-value {
    font-size: 13px;
    font-weight: 700;
    color: #1e293b;
}

.ws-text-green {
    color: #10b981;
}

/* Action Buttons */
.ws-card-actions {
    display: flex;
    gap: 12px;
    margin-top: 4px;
}

.ws-btn-card {
    flex: 1;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
}

.ws-btn-card-outline {
    background-color: #ffffff;
    border: 1px solid #cbd5e1;
    color: #475569;
}

    .ws-btn-card-outline:hover {
        background-color: #f8fafc;
        color: #1e293b;
    }

.ws-btn-card-solid {
    background-color: #3372CF;
    color: #ffffff;
}

    .ws-btn-card-solid:hover {
        background-color: #2563eb;
    }

/* Responsive */
@media (max-width: 1024px) {
    .ws-schemes-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .ws-schemes-grid {
        grid-template-columns: 1fr;
    }
}
/* --- Support Help Banner Section --- */

.ws-help-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #ffffff;
    border: 1px solid #e9d5ff; /* Soft purple border matching the design */
    border-radius: 12px;
    padding: 24px 32px;
    margin-bottom: 24px;
    font-family: 'Inter', sans-serif;
    flex-wrap: wrap;
    gap: 20px;
}

.ws-help-content {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .ws-help-content h2 {
        font-size: 18px;
        font-weight: 700;
        color: #1e293b;
        margin: 0;
    }

    .ws-help-content p {
        font-size: 14px;
        color: #64748b;
        margin: 0;
    }

.ws-help-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.ws-help-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #F8F8F8;
    border: 1px solid #f1f5f9;
    border-radius: 8px;
    padding: 12px 18px;
    font-size: 13px;
    font-weight: 500;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

    .ws-help-btn:hover {
        background-color: #f1f5f9;
        border-color: #e2e8f0;
        color: #1e293b;
    }

/* Icon styling inside buttons */
.ws-help-icon {
    width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Responsive Adjustments */
@media (max-width: 900px) {
    .ws-help-banner {
        flex-direction: column;
        align-items: flex-start;
    }

    .ws-help-actions {
        width: 100%;
    }

    .ws-help-btn {
        flex: 1;
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .ws-help-actions {
        flex-direction: column;
    }

    .ws-help-btn {
        width: 100%;
    }
}
