/* Basic styles and resets */
body {
    background: linear-gradient(to left, #4b79a1, #283e51);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Tahoma, sans-serif;
}

/* Container styling */
.container {
    width: 90%;
    max-width: 450px;
    padding: 20px;
    background-color: white;
    margin: 20px auto;
    border-radius: 10px;
    box-shadow: 9px 9px 10px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Header styling */
.header-text1 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

/* Input group styling */
.input-group {
    width: 100%;
    margin-bottom: 15px;
}

.text-1, .text-2, .text-3, .text-4 {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

/* Input styling */
.bill-amount, .discount-percentage, .dis-amount, .final-amount {
    width: calc(100% - 20px);
    margin: 5px 0;
    padding: 10px;
    font-size: 16px;
    outline: none;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

/* Button styling */
.cal-btn, .reset-btn {
    width: calc(100% - 20px);
    height: 40px;
    margin: 10px 0;
    border: none;
    border-radius: 5px;
    color: white;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s, transform 0.2s ease-in-out;
}

.cal-btn {
    background-color: #1e90ff;
}

.reset-btn {
    background-color: #32cd32;
}

.cal-btn:hover, .reset-btn:hover {
    opacity: 1;
    transform: translateY(-2px);
}


/* Responsive adjustments */
@media (min-width: 600px) {
    .container {
        width: 80%;
        max-width: 500px;
    }
}

@media (min-width: 768px) {
    .container {
        width: 70%;
        max-width: 600px;
    }
}
