/* Tela de login/cadastro — identidade visual COMPLEX (verde/branco), layout dividido 50/50 */
* { box-sizing: border-box; }
body {
    margin: 0;
    font-family: 'DM Sans', system-ui, sans-serif;
    background: #ffffff;
    color: #16241c;
}
.auth-wrap { display: flex; min-height: 100vh; }

.auth-hero {
    flex: 1 1 50%;
    width: 50%;
    background:
        radial-gradient(circle at 20% 20%, rgba(255,255,255,.10), transparent 55%),
        linear-gradient(160deg, #1c8a53 0%, #105C36 55%, #0a3d24 100%);
    color: #ffffff;
    padding: 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.auth-hero .logo-box { display: flex; align-items: center; gap: 14px; margin-bottom: 44px; }
.auth-hero .logo-box img { height: 78px; background: #fff; border-radius: 12px; padding: 8px; }
.auth-hero .tagline { letter-spacing: 2px; font-size: 12px; font-weight: 700; color: #cdeedb; margin-bottom: 16px; font-family: 'Sora', sans-serif; }
.auth-hero h1 { font-family: 'Sora', sans-serif; font-size: 40px; margin: 0 0 8px; font-weight: 800; line-height: 1.15; color: #ffffff; }
.auth-hero p.desc { color: #dff3e7; max-width: 420px; line-height: 1.6; font-size: 15px; }
.auth-hero .features { margin-top: 44px; display: flex; flex-direction: column; gap: 18px; }
.auth-hero .feature { display: flex; align-items: center; gap: 14px; font-weight: 600; font-size: 14px; color: #ffffff; }
.auth-hero .feature .ico {
    width: 38px; height: 38px; border-radius: 10px;
    background: rgba(255,255,255,.15); color: #ffffff;
    display: flex; align-items: center; justify-content: center; font-size: 16px; flex-shrink: 0;
}

.auth-panel {
    flex: 1 1 50%;
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px;
    background: #ffffff;
    overflow-y: auto;
}
.auth-card { width: 100%; max-width: 440px; }
.badge-pill {
    display: inline-flex; align-items: center; gap: 7px;
    background: #e6f4ec; color: #0f7a44;
    font-size: 11px; font-weight: 700; letter-spacing: .6px;
    padding: 6px 14px; border-radius: 999px; margin-bottom: 22px; font-family: 'Sora', sans-serif;
}
.auth-card h2 { font-family: 'Sora', sans-serif; font-size: 26px; margin: 0 0 6px; font-weight: 700; color: #16241c; }
.auth-card .sub { color: #5f7568; margin-bottom: 22px; font-size: 14px; }

.tabs { display: flex; background: #f0f6f2; border-radius: 999px; padding: 4px; margin-bottom: 24px; }
.tabs a { flex: 1; text-align: center; padding: 10px 0; border-radius: 999px; font-weight: 700; color: #5f7568; font-size: 13px; text-decoration: none; font-family: 'Sora', sans-serif; }
.tabs a.active { background: #0f7a44; color: #ffffff; }
.tabs a:hover { text-decoration: none; }

.form-group { margin-bottom: 15px; }
.form-row { display: flex; gap: 12px; }
.form-row .form-group { flex: 1; }
label { display: block; font-weight: 600; font-size: 12px; margin-bottom: 6px; color: #5f7568; font-family: 'Sora', sans-serif; }
input[type=text], input[type=email], input[type=password], input[type=tel], input[type=date], select {
    width: 100%; padding: 12px 14px; border: 1px solid #dbe8e0;
    border-radius: 10px; font-size: 14px; background: #fbfdfc; color: #16241c;
    font-family: 'DM Sans', sans-serif;
}
input:focus, select:focus { outline: none; border-color: #0f7a44; box-shadow: 0 0 0 3px #e6f4ec; }
.hint { font-size: 11px; color: #5f7568; margin-top: 5px; }

.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    width: 100%; padding: 13px 16px; border: none; border-radius: 10px;
    font-weight: 700; font-size: 14px; cursor: pointer;
    background: #0f7a44; color: #ffffff;
    transition: .15s; font-family: 'Sora', sans-serif;
}
.btn:hover { background: #0c6437; }
.auth-foot { text-align: center; margin-top: 18px; font-size: 13px; color: #5f7568; }
.auth-foot a { color: #0f7a44; text-decoration: none; font-weight: 600; }
.auth-foot a:hover { text-decoration: underline; }
.alert { padding: 12px 14px; border-radius: 10px; font-size: 13px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.alert-erro { background: #fdeceb; color: #b3261e; border: 1px solid #f6c9c5; }
.alert-ok { background: #e6f4ec; color: #0a3d24; border: 1px solid #bfe4cf; }

@media (max-width: 900px) {
    .auth-wrap { flex-direction: column; }
    .auth-hero { width: 100%; padding: 32px; }
    .auth-panel { width: 100%; padding: 32px; }
}
