/* Reset & basic setup */
* {
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    margin: 0;
    height: 100vh;
    background: linear-gradient(135deg, #4f46e5, #06b6d4);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login card */
.login-container {
    background: #ffffff;
    width: 100%;
    max-width: 400px;
    padding: 30px;
    border-radius: 14px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    text-align: center;
}

/* Logo */
.login-container img {
    width: 100px;
    margin-bottom: 20px;
}

/* Heading */
.login-container h2 {
    margin-bottom: 25px;
    color: #1f2937;
}

/* Input fields */
.form-group {
    margin-bottom: 18px;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 12px 14px;
    border-radius: 8px;
    border: 1px solid #d1d5db;
    font-size: 15px;
    outline: none;
    transition: 0.3s;
}

.form-group input:focus {
    border-color: #4f46e5;
    box-shadow: 0 0 0 2px rgba(79,70,229,0.2);
}

/* Show/hide password button */
.show-password {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    font-size: 14px;
    color: #6b7280;
}

/* Login button */
.login-btn {
    width: 100%;
    padding: 12px;
    background: #4f46e5;
    color: #fff;
    font-size: 16px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: 0.3s;
}

.login-btn:hover {
    background: #4338ca;
}

/* Remember me and forgot password */
.options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.options input[type="checkbox"] {
    margin-right: 5px;
}

.options a {
    color: #4f46e5;
    text-decoration: none;
}

.options a:hover {
    text-decoration: underline;
}

/* Error message */
.error {
    margin-top: 10px;
    color: #dc2626;
    font-size: 14px;
}

/* Footer text */
.footer-text {
    margin-top: 20px;
    font-size: 13px;
    color: #6b7280;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .login-container {
        padding: 25px 20px;
    }
}
