
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%; /* Responsive width */
    margin: 20px; /* Adjusted margin */
    padding: 30px; /* Increased padding */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1); /* Softer shadow */
    border-radius: 8px;
    background: #fff;
    text-align: center; /* Center container content */
}
.logo {
    width: 80px; /* Slightly smaller logo */
    height: 80px;
    display: block;
    margin: 0 auto 15px; /* Adjusted margin */
    /* background: #f0f0f0; */ /* Remove background if using image */
    border-radius: 50%;
    overflow: hidden;
}
.logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
h1 {
    color: #333;
    margin-bottom: 10px; /* Reduced margin */
    font-size: 1.8em; /* Adjusted size */
}
#loginType { /* Added ID to the paragraph */
    color: #555;
    margin-bottom: 25px; /* Adjusted margin */
    font-size: 1.1em;
}
.form-group {
    margin-bottom: 20px; /* Increased spacing */
    text-align: left; /* Align labels/inputs left */
}
/* Wrapper for password input and icon */
.password-wrapper {
    position: relative;
}
label {
    display: block;
    margin-bottom: 8px; /* Increased spacing */
    color: #666;
    font-weight: bold; /* Bolder labels */
}
input[type="email"],
input[type="password"],
input[type="text"] /* Added for password toggle */
 { /* Specific styling */
    width: 100%;
    padding: 12px; /* Increased padding */
    border: 1px solid #ddd;
    border-radius: 4px;
    box-sizing: border-box;
    font-size: 1em; /* Consistent font size */
}
/* 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 { /* Add focus style */
    border-color: #ff8c00;
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 100, 0, 0.2);
}
button[type="submit"] { 
    width: 100%;
    padding: 12px; 
    background: #ff6200;
    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; 
    position: relative; 
    overflow: hidden; 
}
button[type="submit"]:hover {
    background: #e55a00;
}
button[type="submit"].logging-in {
    background: #e55a00; 
    cursor: wait; 
    opacity: 0.8; 
}
button[type="submit"]:disabled {
    background-color: #ffb98a; 
    cursor: not-allowed;
    opacity: 0.7;
}
.error-message {
    color: red;
    text-align: center;
    margin-top: 15px; 
    min-height: 1em;
    font-size: 0.9em;
}
.admin-link {
    text-align: center;
    margin-top: 20px; 
}
.admin-link a {
    color: #ff6200;
    text-decoration: none;
    font-weight: bold;
}
.admin-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;
}