/* Calculator container */
.calculator {
    background-color: #fff;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    width: 600px; /* Increased width for a wider layout */
    max-width: 90%;
    box-sizing: border-box;
	justify-content: center; /* centers horizontally */
    align-items: center;     /* centers vertically */
}

/* Title */
.calculator h1 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 24px;
}

/* Labels */
.calculator label {
    display: block;
    margin-top: 12px;
    font-weight: 600;
    color: #444;
}

/* Inputs and selects */
.calculator input,
.calculator select {
    width: 100%;
    padding: 12px;
    margin-top: 6px;
    border-radius: 8px;
    border: 1px solid #ccc;
    box-sizing: border-box;
    font-size: 15px;
}

/* Checkbox section styling */
.calculator div input[type="checkbox"] {
    width: auto;
    margin-right: 10px;
}

/* Make checkbox labels inline for a horizontal feel */
.calculator div {
    display: flex;
    align-items: center;
    margin-top: 5px;
}

/* Button */
.calculator button {
    width: 100%;
    padding: 14px;
    margin-top: 20px;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 17px;
    transition: background-color 0.3s ease;
}

.calculator button:hover {
    background-color: #0056b3;
}

/* Result area */
.result {
    margin-top: 25px;
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: #333;
}

/* Responsive tweaks */
@media (max-width: 700px) {
    .calculator {
        width: 90%;
        padding: 25px;
    }
}
