/* Reset some default margins and paddings */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f9fafb;
    color: #333;
    margin: 0;
    padding: 20px;
}

/* Header */
h1 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 30px;
}

/* Navbar styles */
.navbar {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    background: #34495e;
    padding: 10px 0;
    border-radius: 8px;
}

.navbar a {
    color: #ecf0f1;
    text-decoration: none;
    font-weight: 600;
    padding: 8px 15px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.navbar a:hover {
    background-color: #2ecc71;
    color: white;
}

/* Form styles */
form {
    max-width: 500px;
    margin: 0 auto;
    background: white;
    padding: 30px 40px;
    border-radius: 10px;
    box-shadow: 0 8px 20px rgb(0 0 0 / 0.1);
}

label {
    display: block;
    margin-bottom: 15px;
    font-weight: 600;
    color: #34495e;
}

input[type="text"],
input[type="number"] {
    width: 100%;
    padding: 10px 12px;
    border: 2px solid #bdc3c7;
    border-radius: 6px;
    font-size: 16px;
    margin-top: 6px;
    transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="number"]:focus {
    border-color: #2ecc71;
    outline: none;
}

/* Submit button */
input[type="submit"] {
    display: block;
    width: 100%;
    background-color: #2ecc71;
    border: none;
    padding: 15px;
    font-size: 18px;
    font-weight: 700;
    color: white;
    border-radius: 8px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 10px;
}

input[type="submit"]:hover {
    background-color: #27ae60;
}
