/* Moved from templates/style.css */


body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: linear-gradient(135deg, #e0e7ff 0%, #f4f4f4 100%);
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

.container {
    max-width: 420px;
    margin: 60px auto;
    background: #fff;
    padding: 36px 32px 32px 32px;
    border-radius: 18px;
    box-shadow: 0 6px 32px rgba(0,0,0,0.10), 0 1.5px 6px rgba(0,0,0,0.07);
    transition: box-shadow 0.2s;
}


h1, h2, h3 {
    text-align: center;
    color: #2d3a4a;
    font-weight: 600;
    margin-bottom: 18px;
}


form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}


input[type="text"], input[type="number"] {
    padding: 12px 14px;
    border: 1.5px solid #bfc9d9;
    border-radius: 6px;
    font-size: 1rem;
    background: #f7faff;
    transition: border 0.2s;
}
input[type="text"]:focus, input[type="number"]:focus {
    border: 1.5px solid #7b9cff;
    outline: none;
    background: #eef3ff;
}


button, input[type="submit"] {
    padding: 12px 0;
    background: linear-gradient(90deg, #4f8cff 0%, #007bff 100%);
    color: #fff;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 1.08rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(79,140,255,0.08);
    transition: background 0.2s, box-shadow 0.2s;
}
button:hover, input[type="submit"]:hover {
    background: linear-gradient(90deg, #0056b3 0%, #4f8cff 100%);
    box-shadow: 0 4px 16px rgba(79,140,255,0.13);
}


.result, h3 {
    margin-top: 24px;
    padding: 16px;
    background: #e9f6ff;
    border: 1.5px solid #b2e0ff;
    border-radius: 6px;
    color: #1a5a8a;
    text-align: center;
    font-size: 1.13rem;
    font-weight: 500;
    box-shadow: 0 1px 4px rgba(79,140,255,0.07);
}

label {
    font-size: 1.04rem;
    color: #2d3a4a;
    margin-bottom: 4px;
    font-weight: 500;
}

@media (max-width: 600px) {
    .container {
        max-width: 98vw;
        padding: 18px 4vw 18px 4vw;
    }
    h1, h2 {
        font-size: 1.3rem;
    }
    h3 {
        font-size: 1rem;
    }
}
