/* Center the calculator container */
.calculator-container {
    max-width: 600px;
    margin: 50px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Make form elements aligned to left inside center container */
.calculator-container form {
    text-align: left;
}

.calculator-container input,
.calculator-container select,
.calculator-container button {
    width: 100%;
    padding: 8px;
    margin-top: 4px;
    margin-bottom: 16px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
}

.calculator-container button {
    background-color: #28a745;
    color: white;
    border: none;
    cursor: pointer;
}

.discount-info {
    color: #007bff;
    font-weight: bold;
    margin-top: 10px;
}

/* Optional: make header and login box layout more centered */
.header {
    width: 100%;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px 20px;
    background-color: #003366;
    box-sizing: border-box;  /* Ensures padding doesn't exceed width */
    overflow-x: hidden;       /* Prevents any accidental horizontal scroll */
}

.login-box form {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    align-items: center;
    max-width: 100%;
}

.auth-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
    width: 100%;
    margin-top: 10px;
}

.auth-links a {
    color: white;
    text-decoration: none;
    font-size: 14px;
}

.auth-links a:hover {
    text-decoration: underline;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    overflow-x: hidden;  /* Prevents horizontal scroll */
}
