/* ── AUTH ── */
.auth-main { min-height: 80vh; display: flex; align-items: center; justify-content: center; padding: 24px 16px; }
.auth-card { background: #fff; border-radius: 20px; padding: 36px 28px; width: 100%; max-width: 420px; box-shadow: 0 8px 40px rgba(0,0,0,.1); }
.auth-logo { font-size: 2.5rem; text-align: center; margin-bottom: 8px; }
.auth-card h1 { font-family: 'Playfair Display', serif; color: var(--verde); text-align: center; font-size: 1.6rem; margin-bottom: 6px; }
.auth-sub { text-align: center; color: var(--texto-suave); font-size: .88rem; margin-bottom: 24px; }
.auth-form { display: flex; flex-direction: column; gap: 14px; }
.field label { display: block; font-size: .82rem; font-weight: 500; color: var(--texto-suave); margin-bottom: 5px; text-transform: uppercase; letter-spacing: .4px; }
.field input, .field textarea, .field select { width: 100%; padding: 12px 14px; border: 1.5px solid var(--borda); border-radius: 10px; font-family: 'DM Sans', sans-serif; font-size: .95rem; background: var(--creme); transition: border-color .2s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--verde-claro); background: #fff; }
.btn-auth { background: var(--verde); color: #fff; border: none; border-radius: 12px; padding: 14px; font-family: 'DM Sans', sans-serif; font-size: 1rem; font-weight: 500; cursor: pointer; margin-top: 4px; transition: background .2s; }
.btn-auth:hover { background: var(--verde-medio); }
.auth-switch { text-align: center; margin-top: 16px; font-size: .88rem; color: var(--texto-suave); }
.auth-switch a { color: var(--laranja); font-weight: 500; }
.auth-divider { text-align: center; margin: 20px 0; position: relative; color: var(--texto-suave); font-size: .82rem; }
.auth-divider::before { content: ''; position: absolute; top: 50%; left: 0; right: 0; height: 1px; background: var(--borda); }
.auth-divider span { background: #fff; padding: 0 12px; position: relative; }
.btn-anonimo { display: block; text-align: center; padding: 12px; border-radius: 12px; border: 1.5px solid var(--borda); color: var(--texto-suave); font-size: .9rem; transition: border-color .2s; }
.btn-anonimo:hover { border-color: var(--verde-claro); color: var(--verde); }
.alert { padding: 12px 16px; border-radius: 10px; font-size: .9rem; margin-bottom: 16px; }
.alert-erro { background: #fdecea; color: #c0392b; border-left: 3px solid #c0392b; }
.alert-ok   { background: #e8f5ee; color: #1a4a2e; border-left: 3px solid var(--verde-claro); }

/* ── ENVIAR RECEITA ── */
.enviar-main { padding: 32px 0 60px; }
.enviar-header { margin-bottom: 28px; }
.enviar-header h1 { font-family: 'Playfair Display', serif; font-size: 1.8rem; color: var(--verde); margin-bottom: 8px; }
.enviar-header p { color: var(--texto-suave); }
.auth-cta { margin-top: 10px; font-size: .88rem; color: var(--texto-suave); }
.auth-cta a { color: var(--laranja); font-weight: 500; }
.enviar-form { display: flex; flex-direction: column; gap: 0; }
.form-section { background: #fff; border-radius: 16px; padding: 24px; margin-bottom: 16px; box-shadow: 0 2px 12px rgba(0,0,0,.05); }
.form-section h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--verde); margin-bottom: 16px; padding-bottom: 10px; border-bottom: 1px solid var(--borda); }
.form-section h2::after { display: none; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media(max-width:500px) { .field-row { grid-template-columns: 1fr; } }
.field { margin-bottom: 14px; }
.field-hint { font-size: .82rem; color: var(--texto-suave); margin-bottom: 12px; }
.field-hint em { color: var(--verde-medio); font-style: normal; font-weight: 500; }

/* Ingredientes dinâmicos */
.ingredientes-wrap, .passos-wrap { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.ing-row, .passo-row { display: flex; gap: 8px; align-items: flex-start; }
.ing-row input { flex: 1; }
.passo-row textarea { flex: 1; resize: vertical; }
.passo-num { min-width: 28px; height: 28px; background: var(--verde); color: #fff; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: .8rem; font-weight: 700; flex-shrink: 0; margin-top: 10px; }
.btn-remove-ing { background: none; border: 1.5px solid var(--borda); color: var(--texto-suave); border-radius: 8px; width: 32px; height: 32px; cursor: pointer; font-size: .85rem; flex-shrink: 0; margin-top: 8px; transition: background .15s; }
.btn-remove-ing:hover { background: #fdecea; border-color: #c0392b; color: #c0392b; }
.btn-add-linha { background: none; border: 1.5px dashed var(--verde-claro); color: var(--verde-medio); border-radius: 10px; padding: 10px 16px; font-size: .88rem; cursor: pointer; width: 100%; font-family: 'DM Sans', sans-serif; transition: background .15s; }
.btn-add-linha:hover { background: #e8f5ee; }

/* Submit */
.form-submit { text-align: center; padding: 8px 0; }
.submit-aviso { font-size: .85rem; color: var(--texto-suave); margin-bottom: 16px; }
.btn-submit { background: var(--verde); color: #fff; border: none; border-radius: 14px; padding: 16px 40px; font-size: 1.05rem; font-weight: 500; cursor: pointer; font-family: 'DM Sans', sans-serif; transition: background .2s, transform .1s; }
.btn-submit:active { transform: scale(.98); }
.btn-submit:hover { background: var(--verde-medio); }

/* Sucesso */
.sucesso-card { background: #fff; border-radius: 20px; padding: 48px 32px; text-align: center; max-width: 480px; margin: 48px auto; box-shadow: 0 4px 30px rgba(0,0,0,.08); }
.sucesso-icon { font-size: 3rem; margin-bottom: 16px; }
.sucesso-card h1 { font-family: 'Playfair Display', serif; color: var(--verde); margin-bottom: 12px; }
.sucesso-card p { color: var(--texto-suave); margin-bottom: 24px; }
.sucesso-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.btn-verde { background: var(--verde); color: #fff; padding: 12px 24px; border-radius: 12px; font-weight: 500; }
.btn-outline { border: 1.5px solid var(--borda); padding: 12px 24px; border-radius: 12px; color: var(--texto-suave); }

/* ── ADMIN ── */
.admin-body { background: #f5f5f5; }
.admin-header { background: var(--verde); padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.admin-header .logo { color: #fff; font-weight: 600; }
.admin-sair { color: rgba(255,255,255,.7); font-size: .85rem; }
.admin-main { max-width: 900px; margin: 0 auto; padding: 24px 16px; }
.admin-stats { display: flex; gap: 12px; margin-bottom: 24px; }
.astat { background: #fff; border-radius: 12px; padding: 16px 20px; flex: 1; text-align: center; border: 2px solid transparent; transition: border-color .2s; text-decoration: none; color: var(--texto); }
.astat span { display: block; font-size: 1.8rem; font-weight: 700; color: var(--verde); }
.astat.active { border-color: var(--verde); }
.admin-empty { background: #fff; border-radius: 12px; padding: 40px; text-align: center; color: var(--texto-suave); }
.admin-lista { display: flex; flex-direction: column; gap: 16px; }
.admin-card { background: #fff; border-radius: 16px; overflow: hidden; box-shadow: 0 2px 8px rgba(0,0,0,.06); }
.admin-card-header { padding: 20px 20px 0; }
.admin-card-header h2 { font-family: 'Playfair Display', serif; font-size: 1.2rem; color: var(--verde); margin: 6px 0 4px; }
.admin-meta { font-size: .82rem; color: var(--texto-suave); }
.admin-card-body { padding: 16px 20px; }
.admin-descricao { color: var(--texto-suave); font-size: .9rem; margin-bottom: 14px; }
.admin-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-bottom: 12px; }
.admin-cols ul, .admin-cols ol { padding-left: 16px; font-size: .85rem; color: var(--texto-suave); }
.admin-cols li { margin-bottom: 4px; }
.admin-info-extra { font-size: .82rem; color: var(--texto-suave); padding-top: 8px; border-top: 1px solid var(--borda); }
.admin-acoes { padding: 16px 20px; background: var(--creme); display: flex; gap: 10px; align-items: flex-start; flex-wrap: wrap; }
.btn-aprovar { background: #2d6a4f; color: #fff; border: none; border-radius: 10px; padding: 10px 20px; font-size: .9rem; cursor: pointer; font-family: 'DM Sans', sans-serif; font-weight: 500; }
.btn-rejeitar { background: none; border: 1.5px solid #c0392b; color: #c0392b; border-radius: 10px; padding: 10px 20px; font-size: .9rem; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.btn-ver { background: var(--laranja); color: #fff; border-radius: 10px; padding: 10px 20px; font-size: .9rem; }
.rejeicao-form { width: 100%; margin-top: 8px; }
.rejeicao-form textarea { width: 100%; padding: 10px; border: 1.5px solid var(--borda); border-radius: 8px; font-family: 'DM Sans', sans-serif; margin-bottom: 8px; }
.btn-rejeitar-conf { background: #c0392b; color: #fff; border: none; border-radius: 8px; padding: 9px 18px; cursor: pointer; font-family: 'DM Sans', sans-serif; }
.badge-status { display: inline-block; font-size: .72rem; padding: 3px 10px; border-radius: 20px; text-transform: uppercase; font-weight: 600; letter-spacing: .4px; margin-bottom: 4px; }
.badge-pendente  { background: #fef3cd; color: #856404; }
.badge-aprovada  { background: #d4edda; color: #155724; }
.badge-rejeitada { background: #f8d7da; color: #721c24; }
