/* ──────────────────────────────────────────────────────────────
   Nirmol Assistance & Support Platform (NASP) Stylesheet
   ────────────────────────────────────────────────────────────── */

.nirmol-asst-container,
.nirmol-asst-single-wrap,
.nirmol-asst-form-container,
.nirmol-asst-my-cases-wrap,
.nirmol-asst-verifier-wrap,
.nirmol-asst-transparency-wrap {
    max-width: 1200px;
    margin: 30px auto;
    padding: 0 15px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
    color: #1e293b;
    line-height: 1.5;
}

/* Header Banner */
.nirmol-asst-header-banner {
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    color: #fff;
    border-radius: 12px;
    padding: 35px 30px;
    margin-bottom: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
}

.nirmol-asst-badge-pill {
    display: inline-block;
    background: rgba(2, 132, 199, 0.25);
    color: #38bdf8;
    border: 1px solid rgba(56, 189, 248, 0.4);
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 10px;
}

.nirmol-asst-header-banner h2 {
    font-size: 26px;
    font-weight: 800;
    margin: 0 0 10px 0;
    color: #ffffff;
}

.nirmol-asst-header-banner p {
    color: #94a3b8;
    font-size: 15px;
    margin: 0 0 20px 0;
    max-width: 750px;
}

.nirmol-asst-banner-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

/* Buttons */
.nirmol-asst-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 18px;
    font-size: 14px;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.2s ease;
    border: none;
}

.nirmol-asst-btn-primary {
    background: #0284c7;
    color: #fff !important;
}
.nirmol-asst-btn-primary:hover {
    background: #0369a1;
}

.nirmol-asst-btn-accent {
    background: #059669;
    color: #fff !important;
}
.nirmol-asst-btn-accent:hover {
    background: #047857;
}

.nirmol-asst-btn-outline {
    background: transparent;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,0.3);
}
.nirmol-asst-btn-outline:hover {
    background: rgba(255,255,255,0.1);
}

.nirmol-asst-btn-help-now {
    width: 100%;
    background: #e11d48;
    color: #fff !important;
    padding: 13px 20px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(225, 29, 72, 0.25);
}
.nirmol-asst-btn-help-now:hover {
    background: #be123c;
    transform: translateY(-1px);
}

.nirmol-asst-btn-disabled {
    width: 100%;
    background: #cbd5e1;
    color: #64748b;
    padding: 12px 20px;
    cursor: not-allowed;
}

.nirmol-asst-btn-submit {
    background: #059669;
    color: #fff;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 8px;
}
.nirmol-asst-btn-submit:hover {
    background: #047857;
}

/* Filter Card */
.nirmol-asst-filter-card {
    background: #fff;
    padding: 18px 20px;
    border-radius: 10px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    margin-bottom: 25px;
    border: 1px solid #e2e8f0;
}

.nirmol-asst-filter-grid {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr auto;
    gap: 12px;
    align-items: center;
}

.nirmol-asst-input,
.nirmol-asst-select,
.nirmol-asst-textarea {
    width: 100%;
    padding: 9px 12px;
    font-size: 14px;
    border: 1px solid #cbd5e1;
    border-radius: 6px;
    background: #fff;
    color: #1e293b;
    box-sizing: border-box;
}

.nirmol-asst-input:focus,
.nirmol-asst-select:focus,
.nirmol-asst-textarea:focus {
    border-color: #0284c7;
    outline: none;
    box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

/* Case Cards Grid */
.nirmol-asst-cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 24px;
}

.nirmol-asst-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    box-shadow: 0 2px 4px rgba(0,0,0,0.03);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    flex-direction: column;
}

.nirmol-asst-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 15px -3px rgba(0,0,0,0.08);
}

.nirmol-asst-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: #f8fafc;
    border-bottom: 1px solid #f1f5f9;
}

.nirmol-asst-case-id-badge {
    font-family: monospace;
    font-size: 12px;
    font-weight: 700;
    color: #0284c7;
    background: #e0f2fe;
    padding: 3px 8px;
    border-radius: 4px;
}

.nirmol-asst-verified-badge {
    font-size: 11px;
    font-weight: 700;
    color: #15803d;
    background: #dcfce7;
    padding: 3px 8px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 3px;
}

.nirmol-asst-card-img {
    height: 170px;
    background-size: cover;
    background-position: center;
    border-bottom: 1px solid #f1f5f9;
}

.nirmol-asst-card-body {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.nirmol-asst-meta-tags {
    display: flex;
    gap: 8px;
    font-size: 11px;
    margin-bottom: 8px;
    flex-wrap: wrap;
}

.nirmol-asst-tag-category {
    background: #f1f5f9;
    color: #475569;
    padding: 2px 7px;
    border-radius: 4px;
    font-weight: 600;
}

.nirmol-asst-tag-location {
    color: #64748b;
}

.nirmol-asst-card-title {
    font-size: 16px;
    font-weight: 700;
    margin: 0 0 8px 0;
    line-height: 1.35;
}

.nirmol-asst-card-title a {
    color: #0f172a;
    text-decoration: none;
}
.nirmol-asst-card-title a:hover {
    color: #0284c7;
}

.nirmol-asst-card-summary {
    font-size: 13px;
    color: #64748b;
    margin: 0 0 16px 0;
    line-height: 1.45;
    flex: 1;
}

/* Progress Bar */
.nirmol-asst-progress-bar-bg {
    background: #e2e8f0;
    border-radius: 6px;
    height: 8px;
    overflow: hidden;
}

.nirmol-asst-progress-bar-fill {
    background: linear-gradient(90deg, #0284c7 0%, #059669 100%);
    height: 100%;
    border-radius: 6px;
    transition: width 0.4s ease;
}

.nirmol-asst-progress-labels {
    display: flex;
    justify-content: space-between;
    font-size: 12px;
    color: #475569;
    margin-top: 5px;
}

.nirmol-asst-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
    margin-top: 14px;
}

.nirmol-asst-supporters-count {
    font-size: 12px;
    color: #64748b;
    font-weight: 600;
}

.nirmol-asst-card-btn {
    font-size: 13px;
    font-weight: 700;
    color: #0284c7;
    text-decoration: none;
}
.nirmol-asst-card-btn:hover {
    color: #0369a1;
    text-decoration: underline;
}

/* Emergency Banners */
.nirmol-asst-emergency-banner {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.nirmol-asst-emergency-icon {
    font-size: 32px;
}

.nirmol-asst-emergency-banner h3 {
    margin: 0 0 4px 0;
    font-size: 16px;
}

.nirmol-asst-emergency-banner p {
    margin: 0;
    font-size: 13px;
}

.nirmol-asst-banner-revoked {
    background: #fee2e2;
    border: 2px solid #ef4444;
    color: #991b1b;
}

.nirmol-asst-banner-closed {
    background: #f1f5f9;
    border: 2px solid #94a3b8;
    color: #334155;
}

.nirmol-asst-banner-success {
    background: #dcfce7;
    border: 2px solid #22c55e;
    color: #15803d;
}

/* Single Dossier Grid */
.nirmol-asst-dossier-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 25px;
}

.nirmol-asst-content-card,
.nirmol-asst-sidebar-card {
    background: #fff;
    border-radius: 10px;
    padding: 22px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin-bottom: 20px;
}

.nirmol-asst-single-title {
    font-size: 24px;
    font-weight: 800;
    color: #0f172a;
    margin: 10px 0 15px 0;
}

.nirmol-asst-single-cover img {
    width: 100%;
    border-radius: 8px;
    max-height: 400px;
    object-fit: cover;
    margin-bottom: 20px;
}

.nirmol-asst-funding-box {
    border-top: 4px solid #0284c7;
}

.nirmol-asst-amount-big {
    font-size: 28px;
    font-weight: 800;
    color: #059669;
    display: block;
}

.nirmol-asst-amount-sub {
    font-size: 13px;
    color: #64748b;
}

.nirmol-asst-funding-breakdown {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #334155;
    margin-bottom: 12px;
}

.nirmol-asst-supporter-stats {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-size: 12px;
    color: #64748b;
    padding: 10px 0;
    border-top: 1px solid #f1f5f9;
    border-bottom: 1px solid #f1f5f9;
    margin-bottom: 15px;
}

.nirmol-asst-contact-safeguard {
    margin-top: 12px;
    font-size: 11px;
    color: #64748b;
    line-height: 1.4;
}

/* Forms & Multi-Step */
.nirmol-asst-form-section {
    background: #fff;
    border-radius: 10px;
    padding: 24px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
    margin-bottom: 20px;
}

.nirmol-asst-section-title {
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid #f1f5f9;
    padding-bottom: 12px;
    margin-bottom: 18px;
}

.nirmol-asst-step-num {
    background: #0284c7;
    color: #fff;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
}

.nirmol-asst-section-title h3 {
    margin: 0;
    font-size: 18px;
    color: #0f172a;
}

.nirmol-asst-form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.nirmol-asst-form-grid-3 {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
}

.nirmol-asst-form-row {
    margin-bottom: 15px;
}

.nirmol-asst-form-row label {
    display: block;
    font-weight: 600;
    font-size: 13px;
    color: #334155;
    margin-bottom: 5px;
}

.nirmol-asst-drive-guidance {
    display: flex;
    gap: 15px;
    background: #eff6ff;
    border-left: 4px solid #0284c7;
    padding: 16px 20px;
    border-radius: 8px;
    margin-bottom: 25px;
}

.nirmol-asst-drive-icon {
    font-size: 28px;
}

.nirmol-asst-drive-guidance h4 {
    margin: 0 0 4px 0;
    color: #0369a1;
}

.nirmol-asst-drive-guidance p {
    margin: 0 0 8px 0;
    font-size: 13px;
    color: #334155;
}

.nirmol-asst-permission-highlight {
    background: #fff;
    padding: 6px 12px;
    border-radius: 5px;
    border: 1px solid #bfdbfe;
    display: inline-block;
    color: #1e3a8a;
    font-size: 13px;
}

/* Modals */
.nirmol-asst-modal {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(15, 23, 42, 0.7);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    backdrop-filter: blur(2px);
}

.nirmol-asst-modal-content {
    background: #fff;
    width: 100%;
    max-width: 520px;
    border-radius: 12px;
    padding: 25px;
    position: relative;
    box-shadow: 0 20px 25px -5px rgba(0,0,0,0.2);
}

.nirmol-asst-modal-close {
    position: absolute;
    top: 15px;
    right: 18px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #94a3b8;
}

/* Timeline */
.nirmol-asst-timeline {
    border-left: 2px solid #e2e8f0;
    padding-left: 18px;
    margin-left: 6px;
}

.nirmol-asst-timeline-item {
    position: relative;
    margin-bottom: 20px;
}

.nirmol-asst-timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #0284c7;
}

.nirmol-asst-timeline-date {
    font-size: 11px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
}

.nirmol-asst-timeline-title {
    margin: 2px 0 6px 0;
    font-size: 15px;
    color: #0f172a;
}

.nirmol-asst-timeline-body {
    font-size: 13px;
    color: #475569;
}

.nirmol-asst-timeline-spent {
    font-size: 12px;
    font-weight: 700;
    color: #059669;
    margin-top: 4px;
}

/* Social Share Buttons */
.nirmol-asst-social-share {
    display: flex;
    gap: 6px;
    justify-content: center;
}

.nirmol-asst-share-btn {
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    border-radius: 4px;
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.nirmol-share-fb { background: #1877f2; color: #fff !important; }
.nirmol-share-wa { background: #25d366; color: #fff !important; }
.nirmol-copy-link { background: #64748b; color: #fff; }

/* Status Badges */
.nirmol-asst-status-badge {
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
}
.nirmol-asst-badge-submitted { background: #fef3c7; color: #92400e; }
.nirmol-asst-badge-verified { background: #dcfce7; color: #15803d; }
.nirmol-asst-badge-published { background: #e0f2fe; color: #0369a1; }
.nirmol-asst-badge-closed { background: #f1f5f9; color: #475569; }

/* Step pipeline */
.nirmol-asst-step-pipeline {
    display: flex;
    justify-content: space-between;
    margin: 15px 0;
    position: relative;
}

.nirmol-asst-step {
    text-align: center;
    flex: 1;
    position: relative;
}

.nirmol-asst-step-circle {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    margin-bottom: 4px;
}

.nirmol-asst-step.done .nirmol-asst-step-circle {
    background: #0284c7;
    color: #fff;
}

.nirmol-asst-step-name {
    font-size: 10px;
    color: #64748b;
}

/* Transparency KPIs */
.nirmol-asst-transparency-kpis {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
    margin-bottom: 30px;
}

.nirmol-asst-kpi-card {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
    text-align: center;
    box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.nirmol-asst-kpi-num {
    font-size: 26px;
    font-weight: 800;
    color: #0f172a;
}

.nirmol-asst-kpi-label {
    font-size: 12px;
    font-weight: 600;
    color: #64748b;
    margin-top: 4px;
}

.nirmol-asst-transparency-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.nirmol-asst-transparency-card {
    background: #fff;
    padding: 22px;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.nirmol-asst-table {
    width: 100%;
    border-collapse: collapse;
}
.nirmol-asst-table th,
.nirmol-asst-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #f1f5f9;
    font-size: 13px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .nirmol-asst-filter-grid {
        grid-template-columns: 1fr;
    }
    .nirmol-asst-dossier-grid {
        grid-template-columns: 1fr;
    }
    .nirmol-asst-form-grid-2,
    .nirmol-asst-form-grid-3 {
        grid-template-columns: 1fr;
    }
    .nirmol-asst-transparency-grid {
        grid-template-columns: 1fr;
    }
}
