/* recuperar_password.php — CSS extraído */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

    :root {
      --gold:        #f9d423;
      --orange:      #ff4e50;
      --accent:      #f97316;
      --footer-h: 44px;
      --scene-h: 115px;
      --body-bottom: calc(var(--footer-h) + var(--scene-h) + 16px);
    }

    body {
      font-family: 'Rubik', sans-serif;
      background: #fdf8f0;
      min-height: 100vh;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      overflow-x: hidden;
      overflow-y: auto;
      position: relative;
      padding: 10px 16px var(--body-bottom);
    }

    #codeCanvas {
      position: fixed; inset: 0; z-index: 0; opacity: 0.06;
    }

    /* ── Card — mesma largura e min-height do index ── */
    .card {
      position: relative;
      z-index: 10;
      display: flex;
      width: min(920px, 100%);
      height: clamp(460px, calc(100dvh - 223px), 700px);
      min-height: 440px;
      border-radius: clamp(16px, 2vw, 28px);
      overflow: hidden;
      box-shadow: 0 12px 48px rgba(0,0,0,0.12), 0 0 0 1px rgba(0,0,0,0.04);
      animation: cardIn 0.85s cubic-bezier(.22,.68,0,1.15) both;
    }
    @keyframes cardIn {
      from { opacity:0; transform:translateY(28px) scale(0.97); }
      to   { opacity:1; transform:none; }
    }

    /* ── Painel esquerdo — idêntico ao index (flex:0 0 42%) ── */
    .left {
      flex: 0 0 42%;
      background: linear-gradient(145deg, #f9d423 0%, #ff7043 55%, #ff4e50 100%);
      display: flex; flex-direction: column;
      align-items: center; justify-content: center;
      padding: clamp(16px, 3vh, 48px) clamp(16px, 4vw, 36px);
      position: relative; overflow: hidden;
    }
    .left::before {
      content: ''; position: absolute; inset: 0;
      background: repeating-linear-gradient(-45deg,
        rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 1px,
        transparent 1px, transparent 14px);
    }
    .left-brand {
      font-size: clamp(1.7rem, 3vw, 2.3rem); font-weight: 700; color: #fff;
      text-shadow: 0 2px 12px rgba(0,0,0,0.18);
      letter-spacing: -0.5px; margin-bottom: 8px; position: relative;
    }
    .left-sub {
      font-size: clamp(0.78rem, 1.3vw, 0.93rem); color: rgba(255,255,255,0.88);
      text-align: center; max-width: 235px; line-height: 1.55;
      margin-bottom: 28px; position: relative;
    }
    .bolt-wrap {
      position: relative;
      filter: drop-shadow(0 0 18px rgba(255,215,0,0.55));
      transition: transform 0.3s ease, filter 0.3s ease;
      cursor: default;
    }
    .bolt-wrap:hover {
      transform: scale(1.1) rotate(5deg);
      filter: drop-shadow(0 0 28px rgba(255,215,0,0.9));
    }
    .bolt-wrap svg { width: clamp(100px, 18vw, 128px); height: auto; }
    .left-tip {
      margin-top: 24px; position: relative;
      background: rgba(255,255,255,0.18);
      border: 1px solid rgba(255,255,255,0.30);
      backdrop-filter: blur(6px);
      border-radius: 14px; padding: 12px 16px;
      font-size: clamp(0.68rem, 1.1vw, 0.78rem);
      color: rgba(255,255,255,0.92);
      text-align: center; line-height: 1.6; max-width: 218px;
    }
    .left-tip strong { color: #fff; }

    /* ── Painel direito — idêntico ao index ── */
    .right {
      flex: 1; background: #ffffff;
      padding: clamp(16px, 3vh, 52px) clamp(16px, 5vw, 44px);
      display: flex; flex-direction: column; justify-content: center;
      border-left: 1px solid #f0ebe0; overflow-y: auto;
    }
    .sup-label {
      font-size: 0.72rem; font-weight: 700;
      color: var(--accent); text-transform: uppercase;
      letter-spacing: 0.08em; margin-bottom: 6px;
    }
    .right h1 {
      font-size: clamp(1.4rem, 2.8vw, 1.8rem); font-weight: 700; color: #1a1a1a;
      letter-spacing: -0.4px; margin-bottom: 6px;
    }
    .right .subtitle {
      font-size: 0.87rem; color: #888; line-height: 1.6; margin-bottom: clamp(12px, 2vh, 30px);
    }

    .alert {
      border-radius: 10px; padding: 10px 14px;
      font-size: 0.86rem; margin-bottom: 18px; line-height: 1.5;
    }
    .alert-err { background:#fff1f1; border:1px solid #fca5a5; color:#b91c1c; }
    .alert-ok  { background:#fff8f0; border:1px solid #fed7aa; color:#92400e; }

    .form-group { display:flex; flex-direction:column; gap:6px; margin-bottom: clamp(8px, 1.5vh, 16px); }
    .form-group label {
      font-size: 0.72rem; font-weight: 700; color: #c9611a;
      text-transform: uppercase; letter-spacing: 0.08em;
    }
    .form-group input {
      background: #f7f4ef; border: 1px solid #e0d8cc;
      border-radius: 10px; padding: 11px 15px;
      color: #1a1a1a; font-family: 'Rubik', sans-serif;
      font-size: 0.96rem; outline: none; height: clamp(38px, 5vh, 46px); width: 100%;
      transition: border-color 0.2s, box-shadow 0.2s;
    }
    .form-group input::placeholder { color: #bbb; }
    .form-group input:focus {
      border-color: #f97316;
      box-shadow: 0 0 0 3px rgba(249,115,22,0.15);
    }

    .btn-submit {
      width: 100%; padding: clamp(10px, 1.8vh, 13px); margin-top: 8px;
      background: linear-gradient(135deg, var(--gold) 0%, #ffb347 50%, var(--orange) 100%);
      border: none; border-radius: 10px;
      font-family: 'Rubik', sans-serif; font-size: 1rem; font-weight: 700;
      color: #1a1a1a; cursor: pointer;
      box-shadow: 0 6px 24px rgba(249,212,35,0.35);
      transition: transform 0.2s, box-shadow 0.2s; letter-spacing: 0.2px;
    }
    .btn-submit:hover { transform: translateY(-2px); box-shadow: 0 10px 32px rgba(249,212,35,0.5); }
    .btn-submit:active { transform: none; }

    .link-row {
      margin-top: clamp(8px, 1.5vh, 20px); text-align: center;
      font-size: 0.86rem; color: #999;
    }
    .link-row a { color:#f97316; text-decoration:none; font-weight:600; transition:color 0.2s; }
    .link-row a:hover { color:#ea6c00; text-decoration:underline; }

    .success-icon {
      font-size: 3rem; display: block; text-align: center;
      margin-bottom: 12px; animation: pop .5s cubic-bezier(.22,.68,0,1.4) both;
    }
    @keyframes pop { from{transform:scale(0)} to{transform:scale(1)} }
    .success-title {
      font-size: 1.3rem; font-weight: 700; color: #1a1a1a;
      margin-bottom: 10px; text-align: center;
    }

    .hint-box {
      background: #f7f4ef; border: 1px solid #e0d8cc;
      border-radius: 12px; padding: 16px 18px; margin-bottom: 20px;
    }
    .hint-title {
      font-size: 0.83rem; font-weight: 700; color: #c9611a; margin-bottom: 10px;
    }
    .step { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 8px; }
    .step:last-child { margin-bottom: 0; }
    .step-num {
      flex-shrink: 0; width: 22px; height: 22px; border-radius: 50%;
      background: linear-gradient(135deg, var(--gold), var(--orange));
      color: #1a1a1a; font-size: 0.7rem; font-weight: 700;
      display: flex; align-items: center; justify-content: center; margin-top: 1px;
    }
    .step-text { font-size: 0.82rem; color: #555; line-height: 1.55; }
    .step-text strong { color: #333; }

    /* Fallback SMTP */
    .fallback-box {
      background: #fff8f0; border: 2px solid #f97316; border-radius: 12px;
      padding: 14px 16px; margin-bottom: 18px; font-size: 0.84rem;
      color: #7c2d12; line-height: 1.6;
    }
    .fallback-box .fb-title {
      display: flex; align-items: center; gap: 8px;
      font-weight: 700; color: #c2410c; font-size: 0.9rem; margin-bottom: 8px;
    }
    .fallback-box .fb-diag {
      margin-top: 10px; padding: 10px 12px;
      background: #fff1f0; border: 1px solid #fca5a5; border-radius: 8px;
      font-size: 0.78rem; color: #b91c1c; line-height: 1.6;
    }
    .fallback-link {
      display: block; margin-top: 12px; word-break: break-all;
      font-family: 'JetBrains Mono', monospace; font-size: 0.78rem;
      color: #f97316; background: #fff; border: 1px solid #fed7aa;
      border-radius: 8px; padding: 10px 12px; text-decoration: none;
    }
    .fallback-link:hover { background: #fff8f0; }

    .smtp-status {
      display: inline-flex; align-items: center; gap: 6px;
      font-size: 0.75rem; font-weight: 600;
      padding: 4px 10px; border-radius: 20px; margin-bottom: 14px;
    }
    .smtp-ok  { background: #f0fdf4; color: #15803d; border: 1px solid #bbf7d0; }
    .smtp-err { background: #fff1f0; color: #b91c1c; border: 1px solid #fca5a5; }

    /* ── Responsividade — idêntica ao index ── */
    @media (max-width: 760px) {
      .card { flex-direction: column; width: 100%; border-radius: 18px; height: auto; min-height: unset; }
      .left { flex: none; padding: 28px 22px 22px; }
      .left-sub { max-width: 90%; }
      .right { flex: none; padding: 26px 20px 28px; overflow-y: visible; }
    }
    @media (max-width: 480px) {
      body { padding-left: 10px; padding-right: 10px; }
      .left { padding: 22px 16px 18px; }
      .right { padding: 22px 16px 24px; }
      .form-group input { font-size: 1rem; } /* evita zoom no iOS */
    }
    @media (max-width: 360px) {
      .left { padding: 18px 12px 14px; }
      .right { padding: 18px 12px 20px; }
    }
    /* Rodapé: estilos definidos em shared.css */
