#login-form {
    max-width: 450px;
    width: 100%;
    margin: 40px auto;
    padding: 30px;
    background: #fff;
    border-radius: 24px;
    box-shadow:
            0 20px 50px rgba(0,0,0,.08),
            0 6px 20px rgba(0,0,0,.04);
    font-family: Arial, sans-serif;
}

#login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 32px;
    color: #222;
    font-weight: 700;
}

#login-form .form-group {
    position: relative;
    margin-bottom: 20px;
}

#login-form input {
    width: 100%;
    height: 56px;
    padding: 22px 16px 8px;
    border: 1px solid #dcdfe5;
    border-radius: 14px;
    background: #fafbfc;
    font-size: 15px;
    transition: .25s ease;
    box-sizing: border-box;
}

#login-form input:hover {
    border-color: rgba(116,0,0,.35);
    background: #fff;
}

#login-form input:focus {
    outline: none;
    border-color: #740000;
    background: #fff;
    box-shadow: 0 0 0 4px rgba(116,0,0,.12);
}

#login-form label {
    position: absolute;
    left: 16px;
    top: 18px;
    font-size: 15px;
    color: #777;
    pointer-events: none;
    transition: .2s ease;
}

#login-form input:focus + label,
#login-form input:not(:placeholder-shown) + label {
    top: 7px;
    font-size: 11px;
    color: #740000;
    font-weight: 700;
}

#login-form .error {
    display: block;
    margin-top: 8px;
    padding-left: 4px;
    color: #d93025;
    font-size: 12px;
    font-weight: 600;
}

#login-form button[type="submit"] {
    width: 100%;
    height: 56px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg,#740000,#a30000);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: .25s ease;
    box-shadow: 0 10px 24px rgba(116,0,0,.25);
    margin-bottom: 15px;
}

#login-form button[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 28px rgba(116,0,0,.35);
}

.google-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    width: 100%;
    height: 56px;

    border: 1px solid #dcdfe5;
    border-radius: 14px;

    background: #fff;

    color: #333;
    font-size: 16px;
    font-weight: 600;

    cursor: pointer;
    transition: .2s ease;

    box-shadow: 0 2px 10px rgba(0,0,0,.04);

    text-decoration: none;
}

.google-btn:hover {
    background: #f7f7f7;
    border-color: #bbb;
    transform: translateY(-1px);
}

.google-btn img {
    width: 18px;
    height: 18px;
}

.forgot-password {
    text-align: center;
    margin-top: 20px;
}

.forgot-password a {
    color: #740000;
    text-decoration: none;
    font-weight: 600;
}

.forgot-password a:hover {
    text-decoration: underline;
}

/* MODAL */

.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    inset: 0;
    background: rgba(0,0,0,.5);
}

.modal-content {
    background: #fff;
    max-width: 420px;
    width: 90%;
    padding: 30px;
    border-radius: 20px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 50px rgba(0,0,0,.2);
}

.modal-content h3 {
    margin-top: 0;
    margin-bottom: 20px;
}

.modal-content input {
    width: 100%;
    height: 52px;
    border: 1px solid #dcdfe5;
    border-radius: 14px;
    padding: 0 15px;
    margin-bottom: 15px;
    box-sizing: border-box;
}

.modal-content button {
    width: 100%;
    height: 52px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg,#740000,#a30000);
    color: white;
    font-weight: 700;
    cursor: pointer;
}

.close {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 28px;
    cursor: pointer;
}

@media (max-width: 600px) {

    #login-form {
        width: calc(90% - 30px);
        padding: 20px;
    }

    #login-form h2 {
        font-size: 26px;
    }

}