body { background: #fcfcfc; font-family: Inter, sans-serif; margin: 0; }

/* Logo */
.logo-top-left {
    position: absolute;
    top: 28px;
    left: 36px;
    height: 42px;
    display: flex;
    align-items: center;
    z-index: 50;
}
.logo-top-left img {
    height: 42px;
    width: auto;
    display: block;
}

/* Container */
.login-container {
    max-width: 380px;
    margin: 150px auto 0 auto;
    background: none;
    text-align: center;
}
.login-title {
    font-size: 2.1em;
    font-weight: 600;
    margin-bottom: 30px;
    color: black;
    line-height: 1.2;
}

/* Inputs */
.email-input-styled,
.password-input-styled,
.rounded-input {
    width: 100%;
    padding: 13px 45px 13px 16px;
    border-radius: 24px;
    border: 1.2px solid #ddd;
    font-size: 1.08em;
    background: #f4f6fb;
    box-sizing: border-box;
    margin-bottom: 16px;
    color: #333;
}
.password-input-styled,
.pwd-input {
    background: #fff;
}

/* Buttons */
.login-form button[type="submit"],
.main-btn,
.reset-mdp-btn {
    width: 100%;
    padding: 13px 0;
    border-radius: 999px;
    border: none;
    background: #111;
    color: #fff;
    font-size: 1.08em;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 18px;
    transition: background 0.14s;
}
.login-form button[type="submit"]:hover,
.main-btn:hover,
.reset-mdp-btn:hover {
    background: #222;
}

.login-google-btn {
    width: 100%;
    border: 1.2px solid #eee;
    background: #fff;
    color: #222;
    border-radius: 999px;
    padding: 12px 0;
    font-size: 1.09em;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 17px;
    transition: background 0.14s;
}
.login-google-btn:hover {
    background: #f4f4f4;
}

/* Links & Text */
.login-alt {
    color: #5b5b5b;
    font-size: 1em;
    margin: 18px 0;
}
.login-bottom-links {
    margin-top: 32px;
    font-size: 0.97em;
    color: #888;
    display: flex;
    gap: 16px;
    justify-content: center;
}
.login-bottom-links a {
    color: #888;
    text-decoration: underline;
}
.login-signup-link {
    color: #3970f4;
    text-decoration: underline;
    font-weight: 500;
}
.forgot-link {
    color: #3970f4;
    text-decoration: underline;
    font-size: 0.98em;
    display: inline-block;
    margin-bottom: 13px;
    margin-top: 3px;
    float: left;
}

/* Messages */
.error-msg,
.msg.error-msg {
    color: #e74c3c;
    background: #fff2f2;
    border: 1px solid #ffd0d0;
    padding: 10px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 1em;
    display: none;
}
.success-msg,
.msg.success-msg {
    color: #2e8b57;
    background: #e7fff0;
    border: 1px solid #bdf0d0;
    padding: 10px 18px;
    border-radius: 10px;
    margin-bottom: 18px;
    font-size: 1em;
    display: none;
}

/* Helpers */
.displayed-email-block {
    width: 100%;
    margin-bottom: 16px;
    display: block;
}
.password-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    margin-bottom: 0px;
    width: 100%;
}
.password-toggle {
    position: absolute;
    right: 13px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 30px;
    width: 30px;
    padding: 0;
}
.password-toggle img {
    display: block;
    width: 24px;
    height: 24px;
    object-fit: contain;
    vertical-align: middle;
    margin-top: -15px;
}

