@import url('https://fonts.googleapis.com/css?family=Montserrat:400,600&display=swap');

.rec-login-form,
.rec-register-form,
.rec-lost-form {
    font-family: 'Montserrat', Arial, sans-serif;
    background: #161b22;
    color: #e7e9ec;
    max-width: 420px;
    margin: 54px auto 60px auto;
    border-radius: 24px;
    box-shadow: 0 8px 36px 0 rgba(5,20,60,0.12);
    padding: 42px 38px 30px 38px;
    border: 1.5px solid #253050;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 320px;
}

.rec-login-form h2,
.rec-register-form h2,
.rec-lost-form h2 {
    font-size: 2.1rem;
    font-weight: 600;
    color: #21edc5;
    text-align: center;
    margin-bottom: 32px;
    font-family: 'Montserrat', Arial, sans-serif;
    letter-spacing: -0.5px;
}

.rec-login-form label,
.rec-register-form label,
.rec-lost-form label {
    margin-bottom: 19px;
    color: #b8c1d7;
    font-weight: 500;
    font-size: 1.03rem;
    display: block;
    letter-spacing: 0.01em;
}

.rec-login-form label span,
.rec-register-form label span,
.rec-lost-form label span {
    display: block;
    margin-bottom: 6px;
    font-weight: 500;
}

.rec-login-form input,
.rec-register-form input,
.rec-lost-form input {
    width: 100%;
    padding: 13px 12px;
    border-radius: 12px;
    border: 1.5px solid #293144;
    background: #23283a;
    color: #e7e9ec;
    font-size: 1.04rem;
    font-family: 'Montserrat', Arial, sans-serif;
    transition: border-color 0.2s, box-shadow 0.2s;
    outline: none;
    margin-top: 2px;
}

.rec-login-form input:focus,
.rec-register-form input:focus,
.rec-lost-form input:focus {
    border-color: #21edc5;
    box-shadow: 0 0 0 2px #21edc525;
}

.rec-lembrar {
    font-size: .98em;
    color: #9fb0c9;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    margin-top: -6px;
}

.btn-primary {
    width: 100%;
    padding: 14px 0;
    margin-top: 10px;
    margin-bottom: 10px;
    border: none;
    border-radius: 12px;
    background: linear-gradient(90deg,#21edc5 0%, #14b8a6 100%);
    color: #1e2333;
    font-weight: bold;
    font-size: 1.13em;
    cursor: pointer;
    box-shadow: 0 2px 10px 0 #21edc525;
    transition: background .15s, color .15s;
    letter-spacing: 0.01em;
}

.btn-primary:hover {
    background: linear-gradient(90deg,#17b19d 0%, #0891b2 100%);
    color: #fff;
}

.rec-links {
    margin-top: 12px;
    text-align: center;
    font-size: 0.99em;
    color: #7db7b0;
}

.rec-links a {
    color: #21edc5;
    text-decoration: underline;
    transition: color 0.16s;
}
.rec-links a:hover { color: #fff; }

#rec-login-msg,
#rec-register-msg,
#rec-lost-msg {
    margin-top: 16px;
    min-height: 24px;
    font-size: 1.04em;
    text-align: center;
    color: #ff5767;
    font-weight: 500;
}

@media (max-width: 600px) {
    .rec-login-form,
    .rec-register-form,
    .rec-lost-form {
        max-width: 98vw;
        min-width: 0;
        padding: 28px 10px 20px 10px;
    }
    .rec-login-form h2,
    .rec-register-form h2,
    .rec-lost-form h2 {
        font-size: 1.4rem;
    }
}
