* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

:root {
    --primary: #2a5298;
    --accent: #ff9800;
    --bg-overlay: rgba(255, 255, 255, 0.8);
}

body {
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: url('04.jpg') no-repeat center center;
    background-size: cover;
    background-attachment: fixed;
    position: relative;
    backdrop-filter: blur(5px); /* ব্যাকগ্রাউন্ড ব্লার */
}

.card {
    /* background: #ffffff; */
    background: var(--bg-overlay);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 35px;
    width: 100%;
    max-width: 450px;
    border-radius: 25px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.card h2 {
    text-align: center;
    margin-bottom: 25px;
    font-weight: 600;
    color: var(--primary);
    font-size: 24px;
    border-bottom: 2px solid var(--accent);
    display: inline-block;
    padding-bottom: 5px;
    margin-bottom: 30px;
}

.input-group {
    margin-bottom: 12px;
    border: 2px solid #eee;
    padding: 12px;
    transition: 0.3s;
    font-weight: 500;
}

.input-group input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(42, 82, 152, 0.1);
}
        
.label-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.input-group label {
    font-weight: 500;
    color: #333;
    font-size: 14px;
}

/* Commision */
.info-btn {
     background: #2a5298;
    color: white;
    border: none;
    border-radius: 50%;
    width: 18px;
    height: 18px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: 0.3s;
}

        .info-btn:hover {
            background: #ff9800;
            transform: scale(1.1);
        }

        .input-group input {
            width: 100%;
            padding: 10px;
            border-radius: 8px;
            border: 1px solid #ccc;
            font-size: 14px;
            outline: none;
        }

        .button-group {
            display: flex;
            gap: 10px;
            margin-top: 15px;
        }

        .btn {
            flex: 2;
            padding: 12px;
            border: none;
            border-radius: 8px;
            background: #2a5298;
            color: #fff;
            font-size: 16px;
            font-weight: 500;
            cursor: pointer;
            transition: 0.3s ease;
        }

        .btn:hover {
            background: #1e3c72;
        }

        /* Reset Button Style */
        .btn-reset {
            flex: 1;
            background: #e74c3c;
        }

        .btn-reset:hover {
            background: #c0392b;
        }

        .results {
            margin-top: 20px;
            padding: 15px;
            background: #f4f6f9;
            border-radius: 10px;
            border-left: 5px solid #2a5298;

            border-left: 0;
            border-top: 4px solid var(--primary);
            box-shadow: 0 5px 15px rgba(0,0,0,0.05);
        }

        .results p {
            margin: 8px 0;
            font-weight: 600;
            color: #333;
        }

        .footer {
            position: fixed;
            bottom: 0;
            left: 0;
            width: 100%;
            background-color: black;
            color: white;
            text-align: center;
            padding: 12px 0;
            font-size: 13px;
        }


/* Micro Animation */
.card {
    animation: fadeIn 1s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
