/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: #2563eb;
    padding: 20px;
    overflow: auto;
}

/* Container */
.login-container {
    width: 70%;
    max-width: 400px;
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Box */
.login-box {
    text-align: center;
}

/* Logo */
.logo {
    width: 100px;
    margin-bottom: 20px;
}

/* Titles */
h1 {
    font-size: 1.2em;
    margin-bottom: 10px;
}
h2 {
    font-size: 1.2em;
    margin-bottom: 10px;
}

/* Error message */
.error-msg {
    color: red;
    font-size: 14px;
    margin-top: 10px;
}

/* Input group */
.input-group {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 4px;
    padding: 10px;
}
.input-group i {
    margin-right: 10px;
    color: #888;
}
.input-group input {
    flex: 1;
    border: none;
    outline: none;
    font-size: 1em;
}

/* Password toggle */
.password-group {
    position: relative;
}
#toggle-password {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

/* Forgot password */
.forgot-password {
    margin-top: 10px;
    margin-bottom: 15px;
    text-align: right;
}
.forgot-password a {
    text-decoration: none;
    color: #007bff;
}
.forgot-password a:hover {
    text-decoration: underline;
}

/* Button */
button {
    width: 100%;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
}
button:hover {
    background-color: #0056b3;
}

/* Responsive */
@media (max-width: 768px) {
    .login-container { width: 95%; padding: 15px; }
    h1,h2 { font-size: 1.1em; }
    .input-group input { font-size: 0.9em; }
    button { font-size: 1.1em; }
    .logo { width: 80px; margin-bottom: 15px; }
}

@media (max-width: 480px) {
    h1,h2 { font-size: 1em; }
    .input-group input { font-size: 0.85em; }
    button { font-size: 1em; }
    .login-container { padding: 10px; }
}
