/* Subsidy Calculator Styles */

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #334155 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(74,222,128,0.1)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: white;
    line-height: 1.1;
    margin: 0;
    font-family: 'Century Gothic', sans-serif;
}

.brand-name {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
    max-width: 500px;
}

/* Stats Cards Grid */
.stats-cards-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    max-width: 600px;
    margin-left: auto;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(34, 197, 94, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.stat-card:hover::before {
    opacity: 1;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 20px 40px rgba(74, 222, 128, 0.1);
}

.stat-card-icon {
    font-size: 1.5rem;
    color: #4ade80;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.stat-card-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.stat-card-number {
    font-size: 1.6rem;
    font-weight: 700;
    color: #4ade80;
    line-height: 1.1;
    font-variant-numeric: tabular-nums;
}

.stat-card-label {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
    line-height: 1.2;
    text-align: center;
}

.stat-card.subsidy-card {
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.15), rgba(34, 197, 94, 0.1));
    border-color: rgba(74, 222, 128, 0.3);
}

/* Calculator Section */
.calculator-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0f172a 0%, #1e293b 100%);
    position: relative;
}

.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(74, 222, 128, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
    z-index: 2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Century Gothic', sans-serif;
}

.section-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.calculator-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 1rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0;
}

.label-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

.required-asterisk {
    color: #ef4444;
    font-weight: 700;
}

.input-group {
    position: relative;
    margin-bottom: 0;
}

.form-select {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    appearance: none;
    cursor: pointer;
}

.form-select:focus {
    outline: none;
    border-color: #4ade80;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.form-select option {
    background: #1e293b;
    color: white;
    padding: 0.5rem;
}

.input-icon {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    pointer-events: none;
}

/* System Size Selector */
.system-size-selector {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.8rem;
    margin-top: 0.5rem;
}

.size-option {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 1rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.size-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 222, 128, 0.1), rgba(34, 197, 94, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.size-option:hover::before {
    opacity: 1;
}

.size-option:hover {
    border-color: rgba(74, 222, 128, 0.3);
    transform: translateY(-2px);
}

.size-option.selected {
    border-color: #4ade80;
    background: rgba(74, 222, 128, 0.1);
}

.size-option.selected::before {
    opacity: 1;
}

.size-icon {
    font-size: 1.5rem;
    color: #4ade80;
    margin-bottom: 0.5rem;
    position: relative;
    z-index: 2;
}

.size-content {
    position: relative;
    z-index: 2;
}

.size-value {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.size-desc {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Calculate Button */
.calculate-btn {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
    width: 100%;
    max-width: 300px;
    margin-left: auto;
    margin-right: auto;
}

.calculate-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

.btn-text {
    font-weight: 600;
}

.btn-icon {
    transition: transform 0.3s ease;
}

.calculate-btn:hover .btn-icon {
    transform: translateX(4px);
}

/* Results Section */
.results-section {
    margin-top: 3rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
}

.results-header {
    text-align: center;
    margin-bottom: 2rem;
}

.results-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    font-family: 'Century Gothic', sans-serif;
}

.results-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

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

.result-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.result-card:hover {
    transform: translateY(-5px);
    border-color: rgba(74, 222, 128, 0.3);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.1);
}

.result-icon {
    font-size: 1.5rem;
    color: #4ade80;
    margin-bottom: 0.5rem;
}

.result-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4ade80;
    margin-bottom: 0.25rem;
}

.result-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
}

.results-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
}

.action-btn.primary {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    color: white;
}

.action-btn.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.action-btn:hover {
    transform: translateY(-2px);
}

.action-btn.primary:hover {
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

/* Consultation Section */
.consultation-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    position: relative;
}

.consultation-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(74, 222, 128, 0.05) 0%, transparent 70%);
}

.consultation-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

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

.consultation-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
    font-family: 'Century Gothic', sans-serif;
}

.consultation-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
}

.consultation-form {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: #4ade80;
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 0 0 3px rgba(74, 222, 128, 0.1);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.consultation-btn {
    background: linear-gradient(135deg, #4ade80, #22c55e);
    border: none;
    border-radius: 12px;
    padding: 1rem 2rem;
    color: white;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(74, 222, 128, 0.3);
}

/* Footer */
/* Footer styles removed - using main styles.css footer styling for consistency */

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .stats-cards-grid {
        grid-template-columns: repeat(3, 1fr);
        margin: 0 auto;
    }
    
    .system-size-selector {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .results-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero {
        display: none; /* Hide hero section on mobile */
    }
    
    /* Add top padding to first section after hero on mobile */
    .subsidy-calculator {
        padding-top: 2rem;
    }
    
    .system-size-selector {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .calculator-form,
    .consultation-form {
        padding: 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .consultation-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    
    .system-size-selector {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .calculator-form,
    .consultation-form {
        padding: 1.5rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .results-actions {
        flex-direction: column;
    }
    
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 2rem;
    box-sizing: border-box;
}

.subsidy-modal {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #e2e8f0;
}

.modal-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Century Gothic', sans-serif;
}

.modal-title i {
    color: #10b981;
    font-size: 1.5rem;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: #f1f5f9;
    color: #1e293b;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    display: flex;
    gap: 1rem;
    padding: 1rem 2rem 2rem;
    border-top: 1px solid #e2e8f0;
    justify-content: flex-end;
}

.modal-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 0.9rem;
}

.modal-btn.secondary {
    background: #f1f5f9;
    color: #64748b;
}

.modal-btn.secondary:hover {
    background: #e2e8f0;
    color: #1e293b;
}

.modal-btn.primary {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
}

.modal-btn.primary:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(16, 185, 129, 0.3);
}

/* Input Summary */
.input-summary {
    background: #f8fafc;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.input-summary h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-family: 'Century Gothic', sans-serif;
}

.input-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.input-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.input-label {
    font-weight: 500;
    color: #64748b;
}

.input-value {
    font-weight: 600;
    color: #1e293b;
}

/* Subsidy Sections */
.subsidy-section {
    margin-bottom: 2rem;
    background: white;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
}

.subsidy-section .section-header {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 1.5rem;
    border-bottom: 1px solid #e2e8f0;
}

.subsidy-section .section-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Century Gothic', sans-serif;
}

.subsidy-section .section-header h3 i {
    color: #10b981;
}

.section-description {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

.subsidy-breakdown {
    padding: 1.5rem;
}

/* Breakdown Table */
.breakdown-table {
    background: #f8fafc;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    margin-bottom: 1rem;
}

.table-header {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1fr;
    background: #1e293b;
    color: white;
    font-weight: 600;
    font-size: 0.9rem;
}

.table-header .col {
    padding: 1rem;
    text-align: center;
}

.table-body {
    background: white;
}

.table-row {
    display: grid;
    grid-template-columns: 1fr 1fr 1.5fr 1fr;
    border-bottom: 1px solid #e2e8f0;
}

.table-row:last-child {
    border-bottom: none;
}

.table-row .col {
    padding: 1rem;
    text-align: center;
    font-size: 0.9rem;
}

.table-row .col:first-child {
    font-weight: 600;
    color: #1e293b;
}

.table-row .col:last-child {
    font-weight: 600;
    color: #10b981;
}

/* Subsidy Totals */
.subsidy-total {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
}

.total-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.total-label {
    font-weight: 500;
}

.total-value {
    font-weight: 700;
    font-size: 1.2rem;
}

/* State Subsidy Info */
.state-subsidy-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.state-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.state-label {
    font-weight: 500;
    color: #64748b;
}

.state-value {
    font-weight: 600;
    color: #1e293b;
}

/* Total Summary */
.total-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.summary-card {
    background: linear-gradient(135deg, #1e293b, #334155);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
}

.summary-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    font-family: 'Century Gothic', sans-serif;
}

.summary-breakdown {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.summary-item:last-child {
    border-bottom: none;
}

.summary-item.total {
    background: rgba(16, 185, 129, 0.2);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    margin-top: 0.5rem;
}

.summary-label {
    font-weight: 500;
}

.summary-value {
    font-weight: 700;
    color: #10b981;
}

.cost-breakdown {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid #e2e8f0;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.cost-item:last-child {
    border-bottom: none;
}

.cost-label {
    font-weight: 500;
    color: #64748b;
}

.cost-value {
    font-weight: 600;
    color: #1e293b;
}

/* Eligibility Section */
.eligibility-section {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.eligibility-section h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-family: 'Century Gothic', sans-serif;
}

.eligibility-section h3 i {
    color: #10b981;
}

.eligibility-list {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.eligibility-item {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.8rem;
    background: white;
    border-radius: 10px;
    border: 1px solid #d1fae5;
}

.eligibility-item i {
    color: #10b981;
    margin-top: 0.2rem;
    flex-shrink: 0;
}

.eligibility-item span {
    color: #374151;
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .modal-overlay {
        padding: 1rem;
    }
    
    .subsidy-modal {
        max-height: 95vh;
    }
    
    .modal-header,
    .modal-body,
    .modal-footer {
        padding: 1.5rem;
    }
    
    .input-details,
    .state-subsidy-info,
    .total-summary {
        grid-template-columns: 1fr;
    }
    
    .table-header,
    .table-row {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .table-header .col,
    .table-row .col {
        padding: 0.5rem;
        text-align: left;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-btn {
        width: 100%;
        justify-content: center;
    }
}
