* {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }
        
        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
            background: linear-gradient(135deg, #f5f7fa 0%, #e4e7eb 100%);
            color: #333;
            line-height: 1.6;
            padding: 20px;
            min-height: 100vh;
        }
        
        .container {
            display: flex;
            flex-direction: column;
            gap: 25px;
        }
        
        header {
            text-align: center;
            padding: 20px 0;
        }
        
        header h1 {
            font-size: 2.8rem;
            color: #1a56db;
            margin-bottom: 10px;
            font-weight: 700;
            background: linear-gradient(135deg, #1a56db 0%, #0d4d8c 100%);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
        
        header p {
            font-size: 1.2rem;
            color: #4b5563;
            max-width: 800px;
            margin: 0 auto;
        }
        
        .calculator-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 30px;
        }
        
        .input-section {
            background: rgb(255 255 255 / 30%);
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            padding: 40px;
            backdrop-filter: blur(50px);
        }
        .modal-header h3 img {
            filter: invert(1);
        }
        
        .section-header {
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e5e7eb;
        }
        
        .section-header h2 {
            font-size: 1.8rem;
            color: #1e40af;
            display: flex;
            align-items: center;
            gap: 12px;
        }
        
        .input-form {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 25px;
        }
        
        .input-group input {
            width: 100%;
            padding: 14px 16px;
            border: 2px solid #d1d5db;
            border-radius: 8px;
            font-size: 1.1rem;
            transition: all 0.3s;
        }
        
        .input-group input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
            outline: none;
        }
        
        .sc-error {
            color: #e53e3e;
            font-size: 0.95rem;
            margin-top: 6px;
            font-weight: 500;
            display: none;
        }
        
        .button-group {
            grid-column: span 2;
            display: flex;
            flex-direction: column;
            gap: 15px;
            margin-top: 10px;
        }
        
        .calculate-btn, .reset-btn {
            padding: 16px 30px;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 10px;
            transition: all 0.3s;
            justify-content: center;
            border-radius: 100px;
        }
        
        .calculate-btn {
            background: linear-gradient(135deg, rgb(22, 97, 165) 0%, rgb(13, 77, 140) 100%);
            color: white;
        }
        
        .calculate-btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 6px 12px rgba(29, 78, 216, 0.4);
        }
        
        .reset-btn {
            background: #e5e7eb;
            color: #374151;
        }
        
        .reset-btn:hover {
            background: #d1d5db !important;
			width: 100% !important;
			border: none !important;
        }
        
        .validation-banner {
            background: #fef3c7;
            color: #92400e;
            padding: 15px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            gap: 10px;
            margin-bottom: 20px;
            opacity: 0;
            transform: translateY(-20px);
            transition: all 0.3s;
        }
        
        .validation-banner.show {
            opacity: 1;
            transform: translateY(0);
        }
        
        .loader-container {
            display: none;
            justify-content: center;
            padding: 30px;
        }
        
        .loader {
            width: 50px;
            height: 50px;
            border: 5px solid #e5e7eb;
            border-top: 5px solid #3b82f6;
            border-radius: 50%;
            animation: spin 1s linear infinite;
        }
        
        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }
        
        /* Modal Styles */
        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.7);
            z-index: 1000;
            justify-content: center;
            align-items: center;
            animation: fadeIn 0.3s;
        }
        
        .modal-content {
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
            width: 90%;
            max-width: 600px;
            overflow: hidden;
            animation: slideIn 0.3s;
        }
        
        .modal-header {
            background: linear-gradient(135deg, #1d4ed8 0%, #1e3a8a 100%);
            color: white;
            padding: 20px;
            position: relative;
        }
        
        .modal-header h3 {
            font-size: 1.5rem;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .modal-body {
            padding: 30px;
        }
        
        .close-btn-roi {
            position: absolute;
            top: 15px;
            right: 15px;
            background: transparent;
            border: none;
            color: white;
            font-size: 1.8rem;
            cursor: pointer;
        }
        
        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }
        
        @keyframes slideIn {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        
        .results-section, .summary-section {
            display: none;
            background: white;
            border-radius: 16px;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            overflow: hidden;
            padding: 30px;
            margin-top: 20px;
            animation: fadeIn 0.5s;
        }
        
        .results-content {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 25px;
        }
        
        .roi-highlight {
            background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
            border-radius: 16px;
            padding: 30px;
            color: white;
            text-align: center;
            grid-column: span 2;
        }
        
        .roi-highlight h3 {
            font-size: 1.5rem;
            margin-bottom: 15px;
        }
        
        .roi-value {
            font-size: 3.5rem;
            font-weight: 700;
            margin: 15px 0;
        }
        
        .result-card {
            background: white;
            border-radius: 16px;
            padding: 25px;
            box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
            border: 1px solid #e5e7eb;
        }
        
        .result-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 15px;
        }
        
        .result-title {
            font-weight: 600;
            font-size: 1.2rem;
            color: #1e3a8a;
        }
        
        .result-header i {
            font-size: 1.8rem;
            color: #3b82f6;
        }
        
        /* .result-value {
            font-size: 2.2rem;
            font-weight: 700;
            color: #10b981;
        } */
        
        .summary-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
            gap: 25px;
            margin-top: 20px;
        }
        
        .summary-card {
            background: #f9fafb;
            border-radius: 12px;
            padding: 25px;
            border: 1px solid #e5e7eb;
        }
        
        .summary-card h4 {
            font-size: 1.3rem;
            color: #1e3a8a;
            margin-bottom: 20px;
            display: flex;
            align-items: center;
            gap: 10px;
        }
        
        .summary-item {
            display: flex;
            justify-content: space-between;
            padding: 12px 0;
            border-bottom: 1px solid #e5e7eb;
        }
        
        .summary-item:last-child {
            border-bottom: none;
        }
        
        .summary-label {
            font-weight: 500;
            color: #4b5563;
        }
        
        .summary-value {
            font-weight: 600;
            color: #1d4ed8;
        }
        
        .positive {
            color: #10b981 !important;
        }
        
        footer {
            text-align: center;
            padding: 30px 0;
            color: #6b7280;
            margin-top: 20px;
        }



        .notification {
     position: fixed;
     top: 20px;
     right: 20px;
     padding: 15px 25px;
     border-radius: 8px;
     font-weight: 500;
     box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
     z-index: 1000;
     opacity: 0;
     transform: translateY(-20px);
     transition: all 0.3s ease;
 }

 .notification.show {
     opacity: 1;
     transform: translateY(0);
 }

 .notification.success {
     background: linear-gradient(135deg, #48bb78 0%, #38a169 100%);
     color: white;
 }

 .notification.error {
     background: linear-gradient(135deg, #e53e3e 0%, #c53030 100%);
     color: white;
 }
/* ROI results */
 .roiResult .results-section, .roiResult .summary-section {
    background: linear-gradient(45deg, #0D487E, #1661A5, #5A9CD9);
    margin-top: 0;
    border-radius: 10px;
    padding: 10px;
}
.roiResult .section-header, .roiResult .results-content, .roiResult .summary-grid{
    background: rgb(255 255 255 / 30%);
    margin: 0;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    padding: 40px 40px 10px;
    border-bottom: 0;
}
.roiResult .results-content, .roiResult .summary-grid{
    padding: 10px 40px 40px;
}
.roiResult .section-header h2{
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    display: block;
}
.roiResult .results-content, .roiResult .summary-grid{
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    border-bottom-left-radius: 10px;
    display: block;
    border-bottom-right-radius: 10px;
}
.roiResult .roi-highlight, .roiResult .result-card, .roiResult .summary-card{
    background: transparent;
    padding: 0;
    text-align: left;
    border: 0;
    display: flex;
    border-radius: 0;
    box-shadow: none;
    border-bottom: 1px solid rgb(255 255 255 / 20%);
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap
}
.roiResult .summary-item{
    border-bottom: 1px solid rgb(255 255 255 / 20%);
    width: 100%;
    display: flex;
}
.roiResult .result-header{
    margin: 0;
    padding: 12px 0;
}
.roiResult .result-value{
    padding: 12px 0;
    text-align: right;
}
.roiResult .result-title, .roiResult .summary-label, .roi-highlight p, .roiResult .roi-highlight h3{
    font-weight: 400;
    color: #fff;
    font-size: 16px;
}
.roiResult .summary-value, .roiResult .result-value, .roiResult .roi-highlight .roi-value {
    font-weight: 700 !important;
    font-size: 20px !important;
    color: #fff !important;
}
.roiResult .results-content .result-card:last-child,  .roiResult .summary-card .summary-item:last-child{
    border-bottom: 0;
}
.roiResult .summary-card{
    border-bottom: 0;
}
.summary-card h4{
    color: #fff !important;
    display: block !important;
    margin-top: 20px !important;
}
.roi-wrapper {
    text-align: right !important;
}
.roi-wrapper .roi-value{
    margin: 0 !important;
    /* text-align: right; */
}
@media (max-width: 767px){
    .roiResult .results-content, .roiResult .summary-grid{
    padding: 10px 20px 20px;
}
    .roiResult .section-header{
        padding: 20px 20px 10px;
    }
    .summary-card h4{
        margin: 10px 0 !important;
    }
    .roiResult .roi-highlight, .roiResult .result-card, .roiResult .summary-card, .summary-item{
        gap: 25px;
    }
    .result-card, .roi-highlight{
        flex-wrap: nowrap !important;
    }
    .roiResult .summary-value, .roiResult .result-value, .roiResult .roi-highlight .roi-value{
        font-size: 18px !important;
    }
    .summary-card h4{
        font-size: 18px;
    }
}
        
        @media (max-width: 900px) {
            .input-form {
                grid-template-columns: 1fr;
            }
            
            .button-group {
                grid-column: span 1;
            }
            
            .roi-highlight {
                grid-column: span 1;
            }
        }
        
        @media (max-width: 600px) {
            header h1 {
                font-size: 2.2rem;
            }
            
            .section-header h2 {
                font-size: 1.5rem;
            }
            
            .input-group input {
                padding: 12px 14px;
                font-size: 1rem;
            }
        }