.elementor-2649 .elementor-element.elementor-element-a49849a{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2649 .elementor-element.elementor-element-6c9455c{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}.elementor-2649 .elementor-element.elementor-element-71e9be1{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-858a992 */:root {
    --primary: #2c5aa0;
    --primary-light: #4a76c6;
    --primary-dark: #1e3d6f;
    --secondary: #4CAF50;
    --secondary-light: #6fcf97;
    --accent: #ff6b6b;
    --dark: #333;
    --dark-light: #555;
    --light: #f9f9f9;
    --light-gray: #f0f0f0;
    --border: #e0e0e0;
    --border-light: #f0f0f0;
    --shadow: 0 4px 6px rgba(0,0,0,0.1);
    --shadow-light: 0 2px 4px rgba(0,0,0,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f5f7fa;
}

.ppf-calculator-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.calculator-header {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    padding: 30px 0;
    text-align: center;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.calculator-header h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Pro Features Banner */
.pro-features {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 25px;
    border-radius: 10px;
    margin-bottom: 30px;
    box-shadow: var(--shadow);
}

.pro-features h3 {
    color: white;
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.5rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.feature-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 8px;
    text-align: center;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    margin-bottom: 10px;
}

.feature-item h4 {
    margin-bottom: 8px;
    font-size: 1.1rem;
    font-weight: 600;
}

.feature-item p {
    font-size: 0.9rem;
    opacity: 0.9;
    line-height: 1.4;
}

.main-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 30px;
    margin-bottom: 30px;
}

@media (max-width: 1024px) {
    .main-content {
        grid-template-columns: 1fr;
    }
}

.calculator-section, .results-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
}

.section-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary);
    border-bottom: 2px solid var(--border);
    padding-bottom: 10px;
    font-weight: 600;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark);
}

/* Fixed Dropdown Styles */
.select-wrapper {
    position: relative;
    width: 100%;
}

.select-wrapper::after {
    content: "▼";
    font-size: 0.8rem;
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: var(--dark-light);
}

select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: white;
    width: 100%;
    padding: 12px 40px 12px 15px !important;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
    cursor: pointer;
    min-height: 48px;
    line-height: 1.5;
}

select:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

select option {
    padding: 12px 15px !important;
    font-size: 1rem;
    background: white;
    color: var(--dark);
    border: none;
    white-space: normal;
    word-wrap: break-word;
    height: auto;
    line-height: 1.5;
}

select::-ms-expand {
    display: none;
}

input {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border);
    border-radius: 5px;
    font-size: 1rem;
    transition: border 0.3s, box-shadow 0.3s;
}

input:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 3px rgba(44, 90, 160, 0.1);
}

.input-with-suffix {
    position: relative;
}

.suffix {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--dark-light);
}

.input-info {
    margin-top: 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.min-max, .current-rate {
    font-size: 0.85rem;
    color: var(--dark-light);
}

.slider-container {
    width: 100%;
    margin-top: 10px;
}

input[type="range"] {
    width: 100%;
    height: 6px;
    border-radius: 5px;
    background: var(--light-gray);
    outline: none;
    -webkit-appearance: none;
}

input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
}

input[type="range"]::-moz-range-thumb {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: var(--primary);
    cursor: pointer;
    border: none;
}

.advanced-options {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid var(--border);
}

.advanced-options h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary);
    font-weight: 600;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.checkbox-group input {
    width: auto;
}

.checkbox-group label {
    margin-bottom: 0;
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 5px;
}

#increment-rate {
    width: 70px;
    padding: 5px 8px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.btn {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--primary);
    color: white;
    flex: 1;
}

.btn-primary:hover {
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--light-gray);
    color: var(--dark);
}

.btn-secondary:hover {
    background: var(--border);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary);
    border: 1px solid var(--primary);
}

.btn-outline:hover {
    background: rgba(44, 90, 160, 0.05);
    transform: translateY(-2px);
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
}

/* Results Dashboard */
.results-dashboard {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

@media (max-width: 768px) {
    .results-dashboard {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .results-dashboard {
        grid-template-columns: 1fr;
    }
}

.dashboard-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary);
    transition: transform 0.3s ease;
}

.dashboard-card:hover {
    transform: translateY(-5px);
}

.dashboard-card.highlight {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
}

.dashboard-card.highlight .value {
    color: white;
}

.dashboard-card .value {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.dashboard-card .label {
    font-size: 0.9rem;
    color: var(--dark-light);
    margin-bottom: 5px;
}

.dashboard-card.highlight .label {
    color: rgba(255, 255, 255, 0.9);
}

.dashboard-card .sub-label {
    font-size: 0.8rem;
    color: var(--dark-light);
    margin-top: 5px;
}

.tax-savings-card {
    background: linear-gradient(135deg, #e8f5e9, #c8e6c9);
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    border-left: 4px solid var(--secondary);
}

.tax-savings-card h3 {
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 600;
}

.tax-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.tax-item {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

.tax-item.highlight {
    font-weight: 600;
    color: var(--primary);
    border-bottom: none;
    margin-top: 5px;
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

/* Export Options */
.export-options {
    display: flex;
    gap: 10px;
    margin: 20px 0;
    flex-wrap: wrap;
}

.export-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 15px;
    background: var(--light);
    border: 1px solid var(--border);
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
}

.export-btn:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

/* Data Summary Styles */
.data-summary {
    background: white;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 25px;
    box-shadow: var(--shadow-light);
    border: 1px solid var(--border-light);
}

.data-summary h3 {
    font-size: 1.2rem;
    color: var(--dark);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
    font-weight: 600;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-light);
}

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

.summary-label {
    color: var(--dark-light);
    font-weight: 500;
}

.summary-value {
    font-weight: 600;
    color: var(--primary);
}

/* Advanced Analytics */
.analytics-section {
    margin: 30px 0;
}

.analytics-section h3 {
    margin-bottom: 20px;
    color: var(--dark);
    font-weight: 600;
}

.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.analytics-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--primary);
}

.analytics-card h4 {
    color: var(--primary);
    margin-bottom: 15px;
    border-bottom: 2px solid var(--border);
    padding-bottom: 8px;
    font-weight: 600;
}

.metric {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid var(--border-light);
}

.metric:last-child {
    border-bottom: none;
}

.metric .value {
    font-weight: 600;
    color: var(--primary);
}

/* Scenario Comparison */
.scenario-comparison {
    margin: 30px 0;
}

.scenario-comparison h3 {
    margin-bottom: 15px;
    color: var(--dark);
    font-weight: 600;
}

.comparison-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
    margin-top: 20px;
}

.comparison-item {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow-light);
    border-left: 4px solid var(--secondary);
    transition: transform 0.3s ease;
}

.comparison-item:hover {
    transform: translateY(-3px);
}

.comparison-item.best {
    border-left-color: #4CAF50;
    background: linear-gradient(135deg, #f8fff8, #e8f5e9);
}

.comparison-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.comparison-title {
    font-weight: 600;
    color: var(--dark);
}

.comparison-badge {
    background: var(--primary);
    color: white;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
}

.comparison-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary);
    margin: 5px 0;
}

.comparison-details {
    font-size: 0.8rem;
    color: var(--dark-light);
}

/* Details Section */
.details-section {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: var(--shadow);
    margin-top: 30px;
}

.tabs {
    display: flex;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.tab {
    padding: 12px 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
    color: var(--dark-light);
    border-bottom: 3px solid transparent;
    background: none;
    border: none;
    font-size: 1rem;
}

.tab:hover {
    color: var(--primary);
}

.tab.active {
    color: var(--primary);
    border-bottom: 3px solid var(--primary);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.tab-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.tab-header h3 {
    color: var(--dark);
    font-weight: 600;
}

.yearly-breakdown {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 20px;
    border: 1px solid var(--border);
    border-radius: 8px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th, td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid var(--border);
}

th {
    background-color: var(--light);
    font-weight: 600;
    position: sticky;
    top: 0;
}

tr:hover {
    background-color: #f5f5f5;
}

.withdrawal-form {
    max-width: 500px;
    margin-top: 20px;
}

.withdrawal-result {
    margin-top: 20px;
    padding: 20px;
    background: var(--light);
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.withdrawal-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin: 10px 0;
}

.withdrawal-note {
    font-size: 0.9rem;
    color: var(--dark-light);
}

.scheme-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

@media (max-width: 768px) {
    .scheme-features {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
}

.feature-card h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.feature-card ul {
    padding-left: 20px;
}

.feature-card li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.faq-item {
    margin-bottom: 15px;
    border: 1px solid var(--border);
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 15px 20px;
    background: var(--light);
    cursor: pointer;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
    border: none;
    width: 100%;
    text-align: left;
    font-size: 1rem;
}

.faq-question:hover {
    background: var(--light-gray);
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 15px 20px;
    max-height: 500px;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary);
    font-weight: 300;
}

.faq-item.active .faq-question::after {
    content: '-';
}

/* Saved Scenarios Styles */
.scenarios-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.scenario-card {
    background: var(--light);
    padding: 20px;
    border-radius: 8px;
    border: 1px solid var(--border);
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: var(--shadow-light);
}

.scenario-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.scenario-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border);
}

.scenario-title {
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.scenario-actions {
    display: flex;
    gap: 10px;
}

.scenario-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 15px;
}

.scenario-detail {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

.scenario-detail .label {
    color: var(--dark-light);
    font-weight: 500;
}

.scenario-detail .value {
    font-weight: 600;
    color: var(--primary);
}

.scenario-result {
    display: flex;
    justify-content: space-between;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-weight: 600;
    color: var(--primary);
    font-size: 1.1rem;
}

.no-scenarios {
    text-align: center;
    padding: 40px 20px;
    color: var(--dark-light);
    background: var(--light);
    border-radius: 8px;
    border: 2px dashed var(--border);
}

.calculator-footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: var(--dark-light);
    font-size: 0.9rem;
    border-top: 1px solid var(--border);
}

/* Loading Overlay */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    display: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3;
    border-top: 5px solid var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Notification Styles */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 15px 20px;
    background: #4CAF50;
    color: white;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    z-index: 1000;
    animation: slideIn 0.3s ease;
}

.notification.error {
    background: #f44336;
}

.notification.info {
    background: #2196F3;
}

@keyframes slideIn {
    from { transform: translateX(100%); opacity: 0; }
    to { transform: translateX(0); opacity: 1; }
}

/* Print Styles */
@media print {
    .ppf-calculator-container {
        padding: 0;
    }
    
    .calculator-header,
    .pro-features,
    .form-actions,
    .export-options,
    .tabs,
    .calculator-footer {
        display: none !important;
    }
    
    .main-content {
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    .calculator-section,
    .results-section,
    .details-section {
        box-shadow: none;
        border: 1px solid #ccc;
        margin-bottom: 20px;
        page-break-inside: avoid;
    }
    
    .tab-content {
        display: block !important;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .ppf-calculator-container {
        padding: 10px;
    }
    
    .calculator-section, .results-section, .details-section {
        padding: 15px;
    }
    
    .tabs {
        flex-direction: column;
    }
    
    .tab {
        border-bottom: 1px solid var(--border);
        border-left: 3px solid transparent;
        text-align: left;
    }
    
    .tab.active {
        border-bottom: 1px solid var(--border);
        border-left: 3px solid var(--primary);
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .export-options {
        justify-content: center;
    }
    
    .scenarios-list {
        grid-template-columns: 1fr;
    }
    
    .scenario-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
    
    .scenario-actions {
        width: 100%;
        justify-content: space-between;
    }
}

/* Additional utility classes */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-10 {
    margin-bottom: 10px;
}

.mb-20 {
    margin-bottom: 20px;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}/* End custom CSS */