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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f8f9fc;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
}

.container {
    position: relative;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    padding: 40px;
    max-width: 450px;
    width: 100%;
}

.container a {
    color: #888;
    text-decoration: none;
    font-size: 12px;
    font-weight: 400;
    transition: color 0.2s;
}

.container a:hover {
    color: #666;
    text-decoration: underline;
}

.back-btn {
    position: absolute;
    top: 16px;
    left: 16px;
}

.logo {
    text-align: center;
    margin-bottom: 30px;
}

.logo h1 {
    font-size: 20px;
    color: #333;
    margin-bottom: 3px;
    font-weight: 600;
}

.logo p {
    color: #aaa;
    font-size: 13px;
}

h2 {
    text-align: center;
    font-size: 20px;
    color: #333;
    margin-bottom: 25px;
    font-weight: 500;
}

.login-icon {
    text-align: center;
    font-size: 40px;
    margin-bottom: 15px;
}

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

label {
    display: block;
    margin-bottom: 6px;
    color: #666;
    font-weight: 400;
    font-size: 13px;
}

input[type="email"],
input[type="password"] {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #ddd;
    border-radius: 6px;
    font-size: 13px;
    transition: border-color 0.2s, box-shadow 0.2s;
    background: #fafbfc;
}

input[type="email"]:focus,
input[type="password"]:focus {
    outline: none;
    border-color: #b0d4ff;
    background: white;
    box-shadow: 0 0 0 3px rgba(176, 212, 255, 0.2);
}

.error-message {
    background: #fff0f0;
    color: #d32f2f;
    padding: 10px 12px;
    border-radius: 6px;
    margin-bottom: 15px;
    border: 1px solid #ffdddd;
    font-size: 13px;
}

button {
    width: 100%;
    padding: 11px;
    background: #a8d8ff;
    color: #333;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
    margin-top: 5px;
}

button:hover {
    background: #94c9ff;
}

button:active {
    background: #85bfff;
}

.forgot-password {
    text-align: right;
    margin-top: -5px;
    margin-bottom: 10px;
}

.footer-links {
    text-align: center;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.footer-text {
    color: #999;
    font-size: 13px;
}

.footer-text a {
    color: #666;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-text a:hover {
    color: #333;
}

/* ===== Responsive ===== */
@media (max-width: 480px) {
    .container {
        padding: 30px 20px;
    }

    h2 {
        font-size: 18px;
        margin-bottom: 20px;
    }

    label {
        margin-bottom: 5px;
    }
}
