body {
    font-family: Arial, sans-serif;
    background-color: #FFFFFF;  /* Changed to pure white to blend with logo background */
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
}

.container {
    background: #FFFFFF;  /* Matches body for seamless blend */
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    max-width: 500px;
    width: 100%;
}

.title-container {
    display: flex;
    flex-direction: column;  /* Stack logo above title */
    align-items: center;
    justify-content: center;
    gap: 5px;  /* Small vertical gap for tight stacking */
    margin-bottom: 10px;
}

.logo {
    height: 40px;
    width: auto;
    object-fit: cover;
    flex-shrink: 0;
}

h1 {
    text-align: center;
    color: #333;
    margin: 0;
    line-height: 1.2;
    font-size: 1.5em;
}

p {
    text-align: center;
    color: #666;
}

.input-group {
    margin-bottom: 20px;
}

.checkbox-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin: 0;
    flex-shrink: 0;
}

.checkbox-group label {
    margin: 0;
    font-weight: normal;
    cursor: pointer;
    display: inline;
    align-self: center;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="number"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-sizing: border-box;
}

button {
    width: 100%;
    padding: 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

button:hover {
    background: #0056b3;
}

.results {
    margin-top: 30px;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 10px;
}

th, td {
    padding: 10px;
    text-align: left;
    border-bottom: 1px solid #ddd;
}

th {
    background: #f8f9fa;
}

.note {
    font-size: 0.9em;
    color: #666;
    text-align: center;
    margin-top: 15px;
    font-style: italic;
}

.footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: center;
}

.footer p {
    margin: 5px 0;
    color: #666;
}

.footer a {
    color: #007bff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    .container {
        padding: 20px;
    }
    .checkbox-group {
        gap: 6px;
    }
    table {
        font-size: 0.9em;
    }
    .title-container {
        gap: 3px;  /* Tighter on mobile */
    }
    .logo {
        height: 32px;
    }
    h1 {
        font-size: 1.3em;
    }
}
