@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    background-color: #f4f7f6;
    display: flex;
    justify-content: center;
    align-items: flex-start; /* Align to top */
    min-height: 100vh;
    margin: 0;
    padding-top: 40px; /* Add some padding at the top */
}

.login-container, .container {
    background-color: #ffffff;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px; /* For login */
    text-align: center;
    box-sizing: border-box;
}

.container {
    max-width: 900px; /* Wider for dashboard */
    text-align: left;
}

h2 {
    margin-bottom: 25px;
    color: #222;
    font-weight: 700;
}

label {
    display: block;
    text-align: left;
    margin-bottom: 8px;
    color: #555;
    font-weight: 700;
}

input[type="text"],
input[type="password"],
textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    box-sizing: border-box;
    transition: border-color 0.3s, box-shadow 0.3s;
    font-family: 'Roboto', sans-serif;
}

input[type="text"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: #007bff;
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.25);
}

textarea {
    font-family: monospace;
    min-height: 120px;
}

button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #007bff, #0056b3);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 700;
    transition: transform 0.2s, box-shadow 0.2s;
}

button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.logout-btn {
    float: right;
    text-decoration: none;
    background-color: #dc3545;
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-weight: 700;
    transition: background-color 0.3s;
}

.logout-btn:hover {
    background-color: #c82333;
}

.form-group {
    margin-bottom: 25px;
}

.admin-info-banner {
    background: #fff8e1;
    border: 1px solid #fbc02d;
    color: #5d4037;
    padding: 12px 16px;
    border-radius: 10px;
    margin-bottom: 16px;
}

.admin-info-banner strong {
    display: block;
    margin-bottom: 6px;
    color: #bf360c;
}
