body {
    background-color: #f9f9f9;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    padding: 40px;
    color: #333;
}

h1 {
    color: #2c3e50;
    text-align: center;
    margin-bottom: 40px;
    font-weight: 700;
}

form {
    max-width: 500px;
    margin: 0 auto;
    background: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 6px 15px rgba(0,0,0,0.1);
}

label {
    font-weight: 600;
    display: block;
    margin-bottom: 6px;
    color: #34495e;
}

input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    margin-bottom: 20px;
    border: 1.8px solid #bdc3c7;
    border-radius: 5px;
    font-size: 16px;
    transition: border-color 0.3s ease;
}

input[type="number"]:focus {
    border-color: #2980b9;
    outline: none;
}

input[type="submit"] {
    width: 100%;
    background-color: #2980b9;
    color: white;
    font-size: 18px;
    padding: 12px;
    border: none;
    border-radius: 5px;
    font-weight: 700;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

input[type="submit"]:hover {
    background-color: #1c5980;
}

h2 {
    text-align: center;
    color: #27ae60;
    margin-top: 40px;
}

p em {
    display: block;
    text-align: center;
    margin-top: 8px;
    color: #7f8c8d;
    font-style: italic;
    font-size: 0.9rem;
}
