body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(to right, #000000, #000000);
    color: white;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    /* Set a minimum height of 100% of the viewport height */
}

.container {
    background: linear-gradient(to right, #000000, #333333);
    color: white;
    padding: 30px;
    border-radius: 0;
    /* Set to 0 for sharp corners */
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    text-align: center;
    width: 90%;
    max-width: 600px;
}

h2 {
    color: rgb(231, 177, 29);
    font-size: 24px;
    margin-bottom: 20px;
}

.input-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    width: 80%;
}

label {
    margin-bottom: 10px;
    color: #999;
}

/* Remove up and down arrows in number input */
input[type="number"] {
    -moz-appearance: textfield;
    text-align: center;
    /* Center the numbers */
}

input {
    width: 100%;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-sizing: border-box;
    margin-bottom: 15px;
    font-size: 16px;
    text-align: center;
}

button {
    background: linear-gradient(to right, rgb(231, 177, 29), rgb(231, 177, 29));
    color: black;
    padding: 15px 20px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 18px;
}

button:hover {
    background: linear-gradient(to right, rgb(231, 177, 29), rgb(231, 177, 29));
}

#breakdown {
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 15px;
    margin-top: 20px;
}

#breakdown p {
    margin: 0;
    color: #999;
}

#totalAmount {
    margin-top: 20px;
    font-weight: bold;
    font-size: 20px;
    color: rgb(231, 177, 29);
}

#displayTotal {
    color: white;
    font-size: 24px;
}

/* Media query for smaller screens */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    .input-group {
        width: 90%;
    }
}

/* Add styles for the Reset button */
#resetButton {
    background: linear-gradient(to right, rgb(231, 177, 29), rgb(231, 177, 29));
    color: black;
    padding: 10px 15px;
    /* Adjusted padding for a smaller button */
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
    /* Added margin to separate the button from the total amount */
}

#resetButton:hover {
    background: linear-gradient(to right, rgb(231, 177, 29), rgb(231, 177, 29));
}

/* Hide the default increment and decrement arrows */
input[type="number"] {
    -moz-appearance: textfield;
    /* Firefox */
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    /* Webkit browsers like Chrome and Safari */
    margin: 0;
    /* Removes default margin */
}