135 lines
2.5 KiB
CSS
135 lines
2.5 KiB
CSS
|
|
body {
|
||
|
|
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
|
||
|
|
background: #eef2f7;
|
||
|
|
margin: 0;
|
||
|
|
padding: 40px;
|
||
|
|
color: #333;
|
||
|
|
}
|
||
|
|
|
||
|
|
.container {
|
||
|
|
max-width: 900px;
|
||
|
|
margin: auto;
|
||
|
|
background: #fff;
|
||
|
|
padding: 40px 50px;
|
||
|
|
border-radius: 12px;
|
||
|
|
box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
|
||
|
|
transition: box-shadow 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.container:hover {
|
||
|
|
box-shadow: 0 10px 35px rgba(0, 0, 0, 0.15);
|
||
|
|
}
|
||
|
|
|
||
|
|
h2 {
|
||
|
|
text-align: center;
|
||
|
|
margin-bottom: 35px;
|
||
|
|
font-size: 30px;
|
||
|
|
color: #2c3e50;
|
||
|
|
font-weight: 700;
|
||
|
|
letter-spacing: 0.5px;
|
||
|
|
}
|
||
|
|
|
||
|
|
form {
|
||
|
|
display: grid;
|
||
|
|
grid-template-columns: 1fr 1fr;
|
||
|
|
gap: 20px 30px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.form-group {
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
label {
|
||
|
|
font-weight: 600;
|
||
|
|
margin-bottom: 8px;
|
||
|
|
color: #555;
|
||
|
|
font-size: 14px;
|
||
|
|
font-weight: bold;
|
||
|
|
}
|
||
|
|
|
||
|
|
input[type="number"] {
|
||
|
|
padding: 10px 12px;
|
||
|
|
border: 1px solid #ccd1d9;
|
||
|
|
border-radius: 6px;
|
||
|
|
font-size: 15px;
|
||
|
|
background-color: #fafafa;
|
||
|
|
transition: all 0.25s ease-in-out;
|
||
|
|
}
|
||
|
|
|
||
|
|
input[type="number"]:focus {
|
||
|
|
border-color: #007BFF;
|
||
|
|
background: #fff;
|
||
|
|
box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
button[type="submit"] {
|
||
|
|
grid-column: span 2;
|
||
|
|
margin-top: 25px;
|
||
|
|
padding: 15px;
|
||
|
|
background: linear-gradient(135deg, #007BFF, #0056b3);
|
||
|
|
border: none;
|
||
|
|
border-radius: 8px;
|
||
|
|
color: #fff;
|
||
|
|
font-size: 18px;
|
||
|
|
font-weight: 600;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: transform 0.2s, background 0.3s;
|
||
|
|
}
|
||
|
|
|
||
|
|
button[type="submit"]:hover {
|
||
|
|
background: linear-gradient(135deg, #0056b3, #00408f);
|
||
|
|
transform: translateY(-2px);
|
||
|
|
}
|
||
|
|
|
||
|
|
/* Back button styling */
|
||
|
|
.back-btn {
|
||
|
|
display: inline-block;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
padding: 10px 18px;
|
||
|
|
background: #6c757d;
|
||
|
|
color: white;
|
||
|
|
font-size: 15px;
|
||
|
|
font-weight: 600;
|
||
|
|
border-radius: 6px;
|
||
|
|
text-decoration: none;
|
||
|
|
transition: background 0.3s ease;
|
||
|
|
}
|
||
|
|
|
||
|
|
.back-btn:hover {
|
||
|
|
background: #5a6268;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
/* Style for Year Dropdown */
|
||
|
|
select {
|
||
|
|
padding: 10px 5px;
|
||
|
|
border: 1px solid #ccd1d9;
|
||
|
|
border-radius: 6px;
|
||
|
|
font-size: 15px;
|
||
|
|
background-color: #fafafa;
|
||
|
|
transition: all 0.25s ease-in-out;
|
||
|
|
cursor: pointer;
|
||
|
|
height: 40px;
|
||
|
|
}
|
||
|
|
|
||
|
|
select:focus {
|
||
|
|
border-color: #007BFF;
|
||
|
|
background: #fff;
|
||
|
|
box-shadow: 0 0 8px rgba(0, 123, 255, 0.25);
|
||
|
|
outline: none;
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
/* Responsive */
|
||
|
|
@media (max-width: 768px) {
|
||
|
|
form {
|
||
|
|
grid-template-columns: 1fr;
|
||
|
|
}
|
||
|
|
|
||
|
|
h2 {
|
||
|
|
font-size: 24px;
|
||
|
|
}
|
||
|
|
}
|