body {
    background: #f6f9ff;
    min-height: 100vh;
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.login-container {
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 8px 32px rgba(5, 77, 246, 0.167);
    padding: 0px 30px 28px 30px;
    width: 350px;
    max-width: 94vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.login-logo {
    width: 250px;
    height: 250px;
    margin-bottom: -60px;
    margin-top: -30px;
    object-fit: contain;
}

h2 {
    font-size: 2rem;
    font-weight: bold;
    margin: 0 0 10px 0;
    color: #19223a;
    letter-spacing: 0.5px;
}

.subtitle {
    color: #97a4b7;
    font-size: 1.05rem;
    margin-bottom: 30px;
    text-align: center;
}

.form-group {
    width: 100%;
    margin-bottom: 18px;
    position: relative;
}

.form-group input {
    width: 100%;
    padding: 12px 80px 12px 40px;
    border: 1.5px solid #e3e8f3;
    border-radius: 24px;
    background: #f6f8fa;
    outline: none;
    font-size: 1.08rem;
    color: #2c3345;
    transition: border 0.18s, background 0.18s;
    font-weight: 500;
    box-sizing: border-box;
}

.form-group input:focus {
    border: 1.7px solid #3a7bfc;
    background: #fff;
}

.icon {
    position: absolute;
    top: 13px;
    left: 13px;
    font-size: 1.18rem;
    color: #a2b1c7;
}

.show-pass {
    position: absolute;
    right: 12px;
    top: 13px;
    font-size: 1.1rem;
    color: #a2b1c7;
    cursor: pointer;
    user-select: none;
}

.btn-login {
    width: 100%;
    background: #2563eb;
    color: #fff;
    border: none;
    border-radius: 16px;
    font-weight: 600;
    font-size: 1.11rem;
    padding: 13px 0;
    margin-top: 5px;
    box-shadow: 0 2px 8px rgba(60, 120, 255, 0.07);
    cursor: pointer;
    transition: background 0.19s, box-shadow 0.17s;
}

.btn-login:hover {
    background: #1d4fd7;
}

.reset-link {
    font-size: 1rem;
    margin-top: 16px;
    color: #8da0bf;
}

.reset-link a {
    color: #2563eb;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.15s;
}

.reset-link a:hover {
    color: #1d4fd7;
    text-decoration: underline;
}

.error-msg {
    color: #e74c3c;
    font-size: 1rem;
    margin-bottom: 10px;
}


/* Responsive! */
@media (max-width: 600px) {
    body {
        margin: 0;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .login-container {
        width: 86vw;
        max-width: 97vw;
        padding: 0px 8px 20px 8px;
        border-radius: 24px;
        box-shadow: 0 8px 32px rgba(5, 77, 246, 0.167);
    }

    .login-logo {
        width: 250px;
        margin-bottom: -60px;
        margin-top: -30px;
    }

    h2 {
        font-size: 1.5rem;
    }

    .subtitle {
        font-size: 0.96rem;
        margin-bottom: 20px;
    }

    .btn-login {
        font-size: 1rem;
        padding: 12px 0;
    }

    .reset-link {
        font-size: 0.96rem;
    }

    .form-group input {
        font-size: 1rem;
        padding: 11px 70px 11px 35px;
    }
}