
/* Enhanced CSS for public survey form on forest background */
body {
    margin: 0;
    min-height: 100vh;
    background: linear-gradient(rgba(0,0,0,0.45), rgba(0,0,0,0.65)), var(--eco-bg-url) center center / cover no-repeat fixed !important;
    font-family: -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wrap {
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 32px 20px 60px;
}

/* Headers outside card: crisp white text with text-shadow */
.wrap > h1, .wrap > h2, .wrap > h3, .wrap > h4, .wrap > p, .wrap > .logo-hdr, .wrap > div:first-child:not(.card-gp) {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.75);
}

.wrap > p, .wrap small {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Clean card styling with soft elevation */
.card-gp {
    background: #ffffff !important;
    border-radius: 16px !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
    overflow: hidden;
    margin-bottom: 20px;
}

.card-gp .card-header {
    background: #ffffff !important;
    border-bottom: 1px solid #f1f5f9 !important;
    padding: 18px 24px !important;
    font-weight: 700;
    color: #1e293b !important;
}

.card-gp .card-body {
    padding: 24px !important;
    background: #ffffff !important;
    min-height: auto !important;
}

/* Inputs styling */
.form-control, input[type="text"], select, textarea {
    border-radius: 10px !important;
    border: 1.5px solid #e2e8f0 !important;
    padding: 12px 16px !important;
    background-color: #f8fafc !important;
    color: #1e293b !important;
    font-size: 0.95rem !important;
    transition: all 0.2s ease;
}

.form-control:focus, input[type="text"]:focus, select:focus, textarea:focus {
    border-color: #2d6a4f !important;
    background-color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(45, 106, 79, 0.15) !important;
    outline: none !important;
}

/* Primary action button */
.btn-success, #btn-continuar, .btn-submit, button[type="submit"], .btn-gp {
    background: linear-gradient(135deg, #2d6a4f, #40916c) !important;
    border: none !important;
    border-radius: 12px !important;
    padding: 12px 28px !important;
    font-weight: 700 !important;
    box-shadow: 0 4px 14px rgba(45, 106, 79, 0.35) !important;
    color: #ffffff !important;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.btn-success:hover, #btn-continuar:hover, .btn-submit:hover, button[type="submit"]:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(45, 106, 79, 0.45) !important;
}

/* Anonymous disclaimer alert */
.aviso-anon {
    background: rgba(240, 253, 244, 0.95) !important;
    border: 1px solid #bbf7d0 !important;
    color: #166534 !important;
    border-radius: 12px !important;
    padding: 14px 18px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(4px);
}

/* Footer logo branding */
.wrap footer, .wrap > div:last-child {
    color: #ffffff !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}


    :root { --sim-green: #2d6a4f; --sim-green-dark: #1b4332; --sim-green-light: #d8f3dc; --pcm-sidebar: #343A40; --pcm-bg: #F8F9FB; }
    * { box-sizing: border-box; }
    
    .login-wrapper { display: flex; width: 100%; max-width: 900px; min-height: 520px; border-radius: 18px; overflow: hidden; box-shadow: rgba(0,0,0,.14) 0 8px 32px; }
    .login-brand { width: 42%; background: linear-gradient(160deg, var(--sim-green-dark) 0%, var(--sim-green) 100%); padding: 48px 36px; display: flex; flex-direction: column; justify-content: space-between; color: #fff; }
    .brand-logo { display: flex; justify-content: center; margin-bottom: 40px; }
    .brand-logo-badge { background: #fff; border-radius: 14px; padding: 10px 18px; display: inline-flex; align-items: center; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
    .brand-logo-badge img { height: 38px; width: auto; display: block; }
    .brand-headline { font-size: 26px; font-weight: 700; line-height: 1.3; margin-bottom: 16px; }
    .brand-sub { font-size: 13px; opacity: .8; line-height: 1.6; }
    .brand-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; }
    .badge-pill { background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.25); border-radius: 20px; padding: 4px 12px; font-size: 11px; font-weight: 600; letter-spacing: .4px; }
    .brand-footer { font-size: 11px; opacity: .5; }
    .login-form-panel { width: 58%; background: #fff; padding: 52px 44px; display: flex; flex-direction: column; justify-content: center; }
    .login-form-panel h2 { font-size: 22px; font-weight: 700; color: #111; margin-bottom: 4px; }
    .login-form-panel p  { font-size: 13px; color: #6b7280; margin-bottom: 32px; }
    .form-label { font-size: 12px; font-weight: 600; color: #374151; margin-bottom: 4px; }
    .form-control { border: 1.5px solid #e5e7eb; border-radius: 10px; padding: 11px 14px; font-size: 14px; transition: border-color .2s; }
    .form-control:focus { border-color: var(--sim-green); box-shadow: 0 0 0 3px rgba(45,106,79,.1); outline: none; }
    .btn-login { background: var(--sim-green); color: #fff; border: none; border-radius: 10px; padding: 12px; font-size: 15px; font-weight: 600; width: 100%; margin-top: 8px; cursor: pointer; transition: background .2s, transform .1s; }
    .btn-login:hover { background: var(--sim-green-dark); }
    .btn-login:disabled { opacity: .65; cursor: not-allowed; }
    .alert-erro { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; border-radius: 10px; padding: 10px 14px; font-size: 13px; margin-bottom: 16px; }
    @media (max-width: 640px) {
      .login-wrapper { flex-direction: column; border-radius: 0; max-width: 100%; min-height: 100vh; }
      .login-brand { width: 100%; padding: 32px 24px; min-height: 200px; }
      .login-form-panel { width: 100%; padding: 36px 24px; }
    }
  
