  * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif ;
        }


        .container {
            max-width: 900px;
            width: 100%;
            margin: 0 auto;
        }

        .calculator-card {
            background: white;
            border-radius: 16px;
            box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
            overflow: hidden;
            position: relative;
        }

        .calculator-header {
            background: linear-gradient(90deg, #1c449b 0%, #031e49 100%);
            color: white;
            padding: 35px 30px;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .calculator-header::before {
            content: "";
            position: absolute;
            top: -50px;
            left: -50px;
            width: 150px;
            height: 150px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
        }

        .calculator-header::after {
            content: "";
            position: absolute;
            bottom: -70px;
            right: -70px;
            width: 200px;
            height: 200px;
            border-radius: 50%;
            background: rgba(255, 255, 255, 0.1);
        }

        .calculator-header h1 {
            font-size: 2.3rem;
            margin-bottom: 12px;
            font-weight: 700;
            position: relative;
            z-index: 1;
            color: white;
        }

        .calculator-header p {
            font-size: 1.15rem;
            opacity: 0.92;
            max-width: 600px;
            margin: 0 auto;
            position: relative;
            z-index: 1;
            color: white;
        }

        .calculator-body {
            display: flex;
            flex-wrap: wrap;
            padding: 30px;
        }

        .input-section {
            flex: 1;
            min-width: 300px;
            padding: 20px;
        }

        .result-section {
            flex: 1;
            min-width: 300px;
            padding: 20px;
            display: flex;
            flex-direction: column;
            justify-content: center;
        }

        .section-title {
            font-size: 1.4rem;
            color: #1e293b;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #e2e8f0;
            font-weight: 600;
            display: flex;
            align-items: center;
        }

        .section-title i {
            margin-right: 12px;
            color: #2563eb;
            background: #e0f2fe;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .input-group {
            margin-bottom: 22px;
            position: relative;
        }

        .input-group label {
            display: block;
            margin-bottom: 8px;
            color: #475569;
            font-weight: 500;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
                  
        }

        .input-group label i {
            margin-right: 8px;
            width: 20px;
            color: #64748b;
        }

        .input-wrapper {
            position: relative;
        }

        .input-wrapper input {
            width: 100%;
            padding: 15px 16px 15px 45px;
            border: 2px solid #e2e8f0;
            border-radius: 10px;
            font-size: 1.05rem;
            color: #1e293b;
            transition: all 0.3s ease;
            background: #f8fafc;
            outline: none;
             min-height: 1.5rem;
        }

        .input-wrapper input:focus {
            border-color: #3b82f6;
            box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
            background: white;
        }

        .input-wrapper i {
            position: absolute;
            left: 16px;
            top: 50%;
            transform: translateY(-50%);
            color: #94a3b8;
            font-size: 18px;
        }

        .input-wrapper input::placeholder {
            color: #cbd5e1;
            font-weight: 400;
        }

        .calculate-btn {
            background: #2563eb;
            color: white;
            border: none;
            padding: 17px 30px;
            font-size: 1.1rem;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 600;
            width: 100%;
            margin-top: 10px;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;
            box-shadow: 0 4px 15px rgba(37, 99, 235, 0.3);
        }

        .calculate-btn:hover {
            background: #1d4ed8;
            transform: translateY(-2px);
            box-shadow: 0 6px 20px rgba(37, 99, 235, 0.4);
        }

        .calculate-btn:active {
            transform: translateY(0);
        }

        .result-card {
            background: #f8fafc;
            border-radius: 12px;
            padding: 25px;
            margin-bottom: 25px;
            border: 1px solid #e2e8f0;
            text-align: center;
            position: relative;
            overflow: hidden;
        }

        .result-card::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            width: 5px;
            height: 100%;
            background: linear-gradient(to bottom, #3b82f6, #60a5fa);
        }

        .result-value {
            font-size: 2.6rem;
            font-weight: 700;
            color: #2563eb;
            margin: 10px 0;
            letter-spacing: -0.5px;
        }

        .result-label {
            color: #64748b;
            font-weight: 500;
            font-size: 1.05rem;
        }

        .result-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 16px;
            margin-top: 20px;
        }

        .result-item {
            background: #f1f5f9;
            padding: 17px;
            border-radius: 10px;
            text-align: center;
            transition: all 0.3s ease;
            border: 1px solid #e2e8f0;
        }

        .result-item:hover {
            transform: translateY(-3px);
            background: #e0f2fe;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
        }

        .result-item .value {
            font-size: 1.35rem;
            font-weight: 600;
            color: #1e293b;
            margin-top: 8px;
        }

        .result-item .label {
            color: #64748b;
            font-size: 0.95rem;
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 6px;
        }

        .note {
            background: #fffbeb;
            border-radius: 10px;
            padding: 16px;
            margin-top: 25px;
            border: 1px solid #fde68a;
            color: #92400e;
            font-size: 0.9rem;
            display: flex;
            gap: 12px;
        }

        .note i {
            font-size: 1.2rem;
            min-width: 24px;
        }

        @media (max-width: 768px) {
            .calculator-body {
                flex-direction: column;
                padding: 20px;
            }
            
            .calculator-header {
                padding: 25px 20px;
            }
            
            .calculator-header h1 {
                font-size: 1.9rem;
            }
            
            .result-value {
                font-size: 2.2rem;
            }
            
            .section-title {
                font-size: 1.3rem;
            }
        }

        .input-hint {
            font-size: 0.85rem;
            color: #94a3b8;
            margin-top: 6px;
            display: block;
            font-style: italic;
        }
        
        .reset-btn {
            background: #64748b;
            color: white;
            border: none;
            padding: 10px 15px;
            border-radius: 6px;
            cursor: pointer;
            font-weight: 500;
            margin-top: 10px;
            transition: all 0.3s ease;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 8px;
            font-size: 0.95rem;
        }
        
        .reset-btn:hover {
            background: #475569;
        }