* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #f1f5f9;
    color: #0f172a;
}

.login-container {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.login-card {
    width: 100%;
    max-width: 430px;
    background: #ffffff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(15, 23, 42, 0.10);
}

.brand {
    text-align: center;
    margin-bottom: 35px;
}

.brand-logo {
    width: 58px;
    height: 58px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin: 0 auto 12px;

    background: #6366f1;
    color: white;

    border-radius: 15px;

    font-size: 28px;
    font-weight: 700;
}

.brand h1 {
    font-size: 24px;
    letter-spacing: 2px;
}

.brand p {
    margin-top: 5px;
    color: #64748b;
    font-size: 14px;
}

.login-heading {
    margin-bottom: 25px;
}

.login-heading h2 {
    font-size: 25px;
    margin-bottom: 7px;
}

.login-heading p {
    color: #64748b;
    font-size: 14px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;

    font-size: 14px;
    font-weight: 600;
}

.form-group input {
    width: 100%;

    padding: 13px 14px;

    border: 1px solid #cbd5e1;
    border-radius: 10px;

    font-size: 15px;

    outline: none;

    transition: border-color 0.2s;
}

.form-group input:focus {
    border-color: #6366f1;
}

.password-wrapper {
    position: relative;
}

.password-wrapper input {
    padding-right: 65px;
}

.password-toggle {
    position: absolute;

    right: 10px;
    top: 50%;

    transform: translateY(-50%);

    border: none;
    background: transparent;

    color: #6366f1;

    cursor: pointer;

    font-weight: 600;
}

.login-options {
    display: flex;
    justify-content: space-between;
    align-items: center;

    margin-bottom: 25px;

    font-size: 13px;
}

.remember {
    display: flex;
    align-items: center;
    gap: 6px;
}

.login-options a {
    color: #6366f1;
    text-decoration: none;
}

.login-button {
    width: 100%;

    border: none;
    border-radius: 10px;

    padding: 14px;

    background: #6366f1;
    color: white;

    font-size: 16px;
    font-weight: 600;

    cursor: pointer;

    transition: 0.2s;
}

.login-button:hover {
    background: #4f46e5;
}

.error-message {
    background: #fef2f2;
    color: #b91c1c;

    border: 1px solid #fecaca;

    padding: 12px;

    border-radius: 10px;

    margin-bottom: 20px;

    font-size: 14px;
}

.login-footer {
    text-align: center;

    margin-top: 30px;

    font-size: 12px;

    color: #94a3b8;
}

.login-footer span {
    display: block;
    margin-top: 4px;
}


@media (max-width: 480px) {

    .login-card {
        padding: 30px 22px;
        border-radius: 15px;
    }

}