* {
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', 'Segoe UI', Roboto, Arial, sans-serif;
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(135deg, #0f172a 0%, #1e3a8a 45%, #2563eb 100%);
    color: #1f2937;
}

.login-page {
    width: 100%;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 24px;
}

.login-container {
    width: 100%;
    max-width: 420px;
    padding: 32px 28px;
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.25);
    text-align: center;
    backdrop-filter: blur(14px);
}

.logo-area {
    margin-bottom: 24px;
}

.brand-logo {
    width: 130px;
    height: auto;
    display: block;
    margin: 0 auto 18px;
}

.brand-title {
    margin: 0 0 6px;
    font-size: 24px;
    font-weight: 700;
    color: #0f172a;
}

.service-text {
    margin: 0;
    font-size: 13px;
    color: #64748b;
    line-height: 1.5;
}

.login-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.input-group {
    position: relative;
}

.input-icon {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 15px;
}

.input-group input {
    width: 100%;
    padding: 13px 14px 13px 42px;
    border: 1px solid #dbe4f0;
    border-radius: 12px;
    background: #f8fafc;
    outline: none;
    font-size: 15px;
    font-family: 'Poppins', sans-serif;
    color: #0f172a;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    box-sizing: border-box;
}

.input-group input:focus {
    border-color: #2563eb;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}

.password-toggle {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #94a3b8;
    font-size: 15px;
}

.form-links {
    text-align: right;
    margin-top: -4px;
}

.form-links a,
.register-link a {
    color: #2563eb;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
}

.form-links a:hover,
.register-link a:hover {
    text-decoration: underline;
}

.login-button {
    width: 100%;
    padding: 13px;
    margin-top: 4px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(135deg, #2563eb, #1d4ed8);
    color: white;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(37, 99, 235, 0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.login-button:hover {
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(37, 99, 235, 0.25);
}

.register-link {
    margin-top: 10px;
    font-size: 14px;
    color: #64748b;
}

.error-message {
    margin-top: 14px;
    padding: 10px 12px;
    border-radius: 10px;
    background: #fee2e2;
    color: #b91c1c;
    font-size: 14px;
}

@media (max-width: 480px) {
    .login-container {
        padding: 24px 18px;
        border-radius: 18px;
    }

    .brand-logo {
        width: 110px;
    }

    .brand-title {
        font-size: 20px;
    }

    .login-button {
        padding: 12px;
    }
}
