/* styles.css */

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    background-color: #13375D;
    color: #ffffff;
    text-align: center;
    padding: 20px 0;
}

h1 {
    margin: 0;
    font-size: 2em;
}

#calculator-container {
    background-color: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 500px;
    margin: 40px auto;
    width: 90%;
    flex: 1; /* Allows the calculator to expand and push footer down */
}

#tip-form .input-group {
    margin-bottom: 20px;
}

#tip-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #13375D;
}

#tip-form input[type="number"] {
    width: calc(100% - 22px);
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

#tip-form input[type="number"]:focus {
    outline: none;
    border-color: #F2CF24;
}

#tip-form button[type="submit"] {
    background-color: #F2CF24;
    color: #13375D;
    padding: 12px 25px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 600;
    transition: background-color 0.3s ease;
    width: 100%;
}

#tip-form button[type="submit"]:hover {
    background-color: #e0be20;
}

#result-container {
    margin-top: 30px;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 6px;
    text-align: center;
    font-size: 1.1em;
    font-weight: 500;
    border: 1px solid #eee;
}

#bill-per-person-result {
    color: #13375D;
    font-weight: 600;
}

footer {
    background-color: #f0f0f0;
    padding: 20px 0;
    text-align: center;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: center;
}

footer .logo {
    margin-left: 10px;
}

footer .logo img {
    height: 30px; /* Adjust as needed */
}

/* Responsive adjustments */
@media (max-width: 600px) {
    #calculator-container {
        padding: 20px;
    }
}