  /* --- Reusing and slightly refining styles from previous example --- */
  body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}
.login-container {
    max-width: 400px;
    width: 90%;
    margin: 20px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    background: #fff;
    text-align: center;
}
.logo {
    width: 80px;
    height: 80px;
    display: block;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h1 {
    color: #333;
    margin-bottom: 10px;
    font-size: 1.8em;
}
#loginType { /* Using an ID for consistency */
    color: #555;
    margin-bottom: 25px;
    font-size: 1.1em;
}
.form-group {
    margin-bottom: 20px;
    text-align: left;
}
/* Wrapper for password input and icon */
.password-wrapper {
    position: relative;
}
label {
    display: block;
    margin-bottom: 8px;
    color: #666;
    font-weight: bold;
}
input[type="email"],
input[type="password"],
input[type="text"] /* Added for password toggle */
{
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em;
}
/* Adjust padding for password input to make space for icon */
input[type="password"],
.password-wrapper input[type="text"] /* Target text input only when it was password */
 {
    padding-right: 40px; /* Space for the icon */
}

/* Password toggle icon style */
.toggle-password-icon {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #888;
    user-select: none; /* Prevent text selection */
    font-size: 1.2em; /* Slightly larger icon */
    line-height: 1; /* Ensure alignment */
}
.toggle-password-icon:hover {
    color: #333;
}
/* --- End Password Toggle Styles --- */

input:focus {
    border-color: #ff8c00;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 100, 0, 0.2);
}
/* --- Button Styling --- */
button[type="submit"] {
    width: 100%;
    padding: 12px;
    background: #ff6200; /* Standard orange */
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1.1em;
    font-weight: bold;
    transition: background-color 0.3s ease, opacity 0.3s ease; /* Added transition */
    position: relative;
    overflow: hidden;
}
button[type="submit"]:hover {
    background: #e55a00; /* Darker orange on hover */
}
/* Style for when the button is processing */
button[type="submit"].logging-in {
    background: #e55a00; /* Darker orange */
    cursor: wait;
    opacity: 0.8;
}
 /* Style for when the button is disabled */
button[type="submit"]:disabled {
    background-color: #ffb98a; /* Lighter orange */
    cursor: not-allowed;
    opacity: 0.7;
}
/* --- End Button Styling --- */

.error-message {
    color: red;
    text-align: center;
    margin-top: 15px;
    min-height: 1em;
    font-size: 0.9em;
}
.staff-link { /* Renamed from admin-link */
    text-align: center;
    margin-top: 20px;
}
.staff-link a {
    color: #ff6200;
    text-decoration: none;
    font-weight: bold;
}
.staff-link a:hover {
    text-decoration: underline;
}
.forgot-password {
    text-align: center;
    margin-top: 10px;
    margin-bottom: 15px;
}
.forgot-password a {
    color: #ff6200;
    text-decoration: none;
    font-size: 0.9em;
}
.forgot-password a:hover {
    text-decoration: underline;
}