* { box-sizing: border-box; margin: 0; padding: 0; }

body, html {
    height: 100%;
    font-family: "Segoe UI", Helvetica, Arial, sans-serif;
}

.rec-cont {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(164, 211, 238, 0.9) 0%, rgba(20, 20, 20, 0.9) 100%);
    padding: 20px;
}

.rec-card {
    background: rgba(255, 255, 255, 0.97);
    border-radius: 12px;
    max-width: 420px;
    width: 100%;
    padding: 36px 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
}

.rec-card h1 {
    font-size: 22px;
    color: #2c2c2c;
    margin-bottom: 8px;
}

.rec-sub {
    font-size: 13.5px;
    color: #666;
    margin-bottom: 22px;
    line-height: 1.4;
}

.rec-card label {
    display: block;
    font-size: 12.5px;
    color: #555;
    margin-bottom: 6px;
}

.rec-card input[type="email"],
.rec-card input[type="text"],
.rec-card input[type="password"] {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    margin-bottom: 18px;
    letter-spacing: normal;
}

.rec-card input[name="codigo"] {
    letter-spacing: 6px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.rec-card button {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 30px;
    background: #4A708B;
    color: #fff;
    font-size: 15px;
    cursor: pointer;
    transition: background 0.2s;
}

.rec-card button:hover {
    background: #3b5a70;
}

.rec-voltar {
    display: block;
    text-align: center;
    margin-top: 18px;
    font-size: 13px;
    color: #4A708B;
    text-decoration: none;
}

.rec-voltar:hover {
    text-decoration: underline;
}

.rec-msg {
    padding: 10px 14px;
    border-radius: 6px;
    font-size: 13.5px;
    margin-bottom: 18px;
}

.rec-erro {
    background: #fdecea;
    color: #b3261e;
    border: 1px solid #f5c6c2;
}

.rec-ok {
    background: #e8f5e9;
    color: #1e7d32;
    border: 1px solid #c3e6c5;
}
