/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, sans-serif;
}

/* Center entire app */
body {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Main container */
.container {
    background: #ffffff;
    padding: 30px;
    border-radius: 12px;
    width: 100%;
    max-width: 500px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

/* Title */
h1 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
}

/* Stack calculators vertically */
.calculator {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    padding: 15px;
    border-radius: 10px;
    background: #f7f9fc;
}

/* Section titles */
.calculator h2 {
    margin-bottom: 10px;
    color: #444;
    text-align: center;
}

/* Inputs */
input {
    width: 100%;
    padding: 10px;
    margin: 6px 0;
    border-radius: 6px;
    border: 1px solid #ccc;
    transition: 0.2s;
}

input:focus {
    border-color: #4facfe;
    outline: none;
    box-shadow: 0 0 5px rgba(79, 172, 254, 0.5);
}

/* Buttons */
button {
    width: 100%;
    padding: 10px;
    margin-top: 8px;
    border: none;
    border-radius: 6px;
    background: #4facfe;
    color: white;
    font-size: 15px;
    cursor: pointer;
    transition: 0.3s;
}

button:hover {
    background: #3a8dde;
}

/* Results */
.result {
    margin-top: 10px;
    font-weight: bold;
    color: #222;
    background: #eaf4ff;
    padding: 8px;
    border-radius: 6px;
    text-align: center;
}

/* Remove grid behavior entirely */
.calculator-grid {
    display: block;
}
