@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root { --primary-color: #673AB7; --primary-hover: #512DA8; --background-color: #F8F9FA; --card-bg: #FFFFFF; --text-color: #1E293B; --text-muted: #64748B; --border-color: #E2E8F0; --shadow: 0 10px 40px rgba(0, 0, 0, 0.08); }
* { margin: 0; padding: 0; box-sizing: border-box; }
::-webkit-scrollbar { display: none; }
body { font-family: 'Poppins', sans-serif; background-color: var(--background-color); color: var(--text-color); line-height: 1.6; -ms-overflow-style: none; scrollbar-width: none; }

.login-page { display: flex; justify-content: center; align-items: center; min-height: 100vh; background: linear-gradient(135deg, #4a148c, #8839a2); padding: 20px; }
.login-container { background: var(--card-bg); padding: 3em; border-radius: 24px; box-shadow: var(--shadow); width: 100%; max-width: 550px; position: relative; overflow: hidden; }

@media (max-width: 600px) {
    .login-page { padding: 0; background: var(--card-bg); align-items: stretch; }
    .login-container { border-radius: 0; box-shadow: none; min-height: 100vh; display: flex; flex-direction: column; justify-content: center; padding: 2em 1.5em; max-width: 100%; }
    .intro-step h1 { font-size: 1.65em; }
    .step-title { font-size: 1.15em; margin-bottom: 1.2em; }
    input, select { padding: 18px; font-size: 1.05em; border-radius: 14px; }
    .btn { padding: 18px 20px; font-size: 1.05em; border-radius: 14px; }
}

.intro-step { text-align: center; animation: slideUp 0.5s ease forwards; }
.intro-step h1 { color: var(--primary-color); font-size: 1.9em; font-weight: 700; line-height: 1.2; margin-bottom: 0.5em; letter-spacing: -0.5px; }
.intro-step p { color: var(--text-muted); font-size: 1.05em; margin-bottom: 2em; }
.form-header { text-align: center; margin-bottom: 1.5em; }
.form-header h2 { color: var(--text-color); margin-bottom: 0.2em; font-size: 1.3em; font-weight: 600; }
.progress-wrapper { margin-bottom: 2.5em; }
.progress-info { display: flex; justify-content: space-between; font-size: 0.85em; font-weight: 600; color: var(--primary-color); margin-bottom: 8px; }
.progress-bar-container { width: 100%; background-color: #F1F5F9; border-radius: 10px; height: 8px; overflow: hidden; }
.progress-bar { height: 100%; background-color: var(--primary-color); width: 0%; transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1); border-radius: 10px; }

.form-step { display: none !important; animation: slideUp 0.4s ease forwards; text-align: center; }
.form-step.active { display: block !important; }
@keyframes slideUp { from { opacity: 0; transform: translateY(15px); } to { opacity: 1; transform: translateY(0); } }
.step-title { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; font-size: 1.2em; font-weight: 600; margin-bottom: 1.5em; color: var(--text-color); }
.step-title svg { color: var(--primary-color); width: 32px; height: 32px; background: #F3E8FF; padding: 6px; border-radius: 10px; }

.form-group { margin-bottom: 1.2em; }
input, select { width: 100%; padding: 16px; border: 2px solid #E2E8F0; border-radius: 12px; font-size: 1.05em; font-family: 'Poppins', sans-serif; transition: all 0.3s ease; background-color: #FAFAFA; color: var(--text-color); text-align: center; appearance: none; -webkit-appearance: none; }
input:focus, select:focus { outline: none; border-color: var(--primary-color); background-color: #FFF; box-shadow: 0 4px 15px rgba(103, 58, 183, 0.15); transform: translateY(-2px); }

/* Animações Botões Pulsantes */
@keyframes pulsePrimary {
    0% { box-shadow: 0 0 0 0 rgba(103, 58, 183, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(103, 58, 183, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(103, 58, 183, 0); transform: scale(1); }
}
@keyframes pulseWpp {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7); transform: scale(1); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); transform: scale(1.02); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); transform: scale(1); }
}

.step-buttons { display: flex; gap: 15px; margin-top: 2.5em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 16px 20px; border: none; border-radius: 12px; font-size: 1.05em; font-weight: 600; cursor: pointer; transition: all 0.3s ease; width: 100%; text-decoration: none;}
.btn-primary { background-color: var(--primary-color); color: #fff; box-shadow: 0 4px 10px rgba(103, 58, 183, 0.2); }
.btn-primary:hover { background-color: var(--primary-hover); transform: translateY(-2px); box-shadow: 0 6px 15px rgba(103, 58, 183, 0.3); }
.btn-secondary { background-color: #F1F5F9; color: var(--text-muted); width: auto; padding: 14px 20px; }
.btn-secondary:hover { background-color: #E2E8F0; color: var(--text-color); }

.btn-start { font-size: 1.15em; padding: 18px; border-radius: 14px; }
.pulse-primary { animation: pulsePrimary 2s infinite; }

.btn-whatsapp { background-color: #25D366; color: white; width: 100%; padding: 18px; font-size: 1.1em; border-radius: 14px; box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background-color: #1EBE5D; transform: translateY(-3px); box-shadow: 0 8px 25px rgba(37, 211, 102, 0.4); color: white; }
.pulse-wpp { animation: pulseWpp 2s infinite; }

.btn-danger { background-color: #EF4444; color: white; }
.btn-danger:hover { background-color: #DC2626; transform: translateY(-2px); box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3); }

.btn-inline { width: auto; display: inline-flex; padding: 10px 20px; font-size: 0.9em; border-radius: 8px;}

/* Componentes Admin */
.container { max-width: 1200px; margin: 0 auto; padding: 2em; }
.top-nav { background-color: var(--card-bg); padding: 1.2em 2em; border-bottom: 1px solid var(--border-color); display: flex; justify-content: space-between; align-items: center; margin-bottom: 2em; border-radius: 12px; box-shadow: 0 4px 12px rgba(0,0,0,0.04); flex-wrap: wrap; gap: 10px;}
.top-nav .logo { font-size: 1.5em; font-weight: 700; color: var(--text-color); display: flex; align-items: center; gap: 8px;}
.top-nav .logo svg { color: var(--primary-color); }
.top-nav .nav-links { display: flex; gap: 10px; flex-wrap: wrap; }
.top-nav .nav-links a { text-decoration: none; color: var(--text-muted); font-weight: 500; transition: color 0.3s; }

.grid-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1.5em; margin-bottom: 2em; }
.stat-card { background-color: var(--card-bg); border-radius: 16px; padding: 1.5em; display: flex; align-items: center; box-shadow: 0 4px 12px rgba(0,0,0,0.04); border: 1px solid var(--border-color); transition: transform 0.3s ease, box-shadow 0.3s ease; }
.stat-card:hover { transform: translateY(-4px); box-shadow: 0 12px 20px rgba(0,0,0,0.06); }
.stat-card .icon { display: flex; align-items: center; justify-content: center; background: #F3E8FF; color: var(--primary-color); width: 56px; height: 56px; border-radius: 12px; margin-right: 1em; }
.stat-card .info { text-align: left; }
.stat-card .info .number { font-size: 1.8em; font-weight: 700; color: var(--text-color); line-height: 1.2; }
.stat-card .info .label { font-size: 0.85em; color: var(--text-muted); font-weight: 500; margin-top: 4px;}
.stat-card.success-card .icon { background: #DCFCE7; color: #10B981; }
.stat-card.whatsapp-card .icon { background: #DCF8E3; color: #25D366; }

.card { background-color: var(--card-bg); border-radius: 16px; padding: 2em; margin-bottom: 2em; box-shadow: 0 4px 12px rgba(0,0,0,0.04); border: 1px solid var(--border-color); }
.card-header { display: flex; align-items: center; gap: 0.75em; font-size: 1.25em; color: var(--text-color); margin-bottom: 1.5em; padding-bottom: 1em; border-bottom: 1px solid var(--border-color); font-weight: 600; }
.table-wrapper { overflow-x: auto; }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 1.2em 1em; text-align: left; border-bottom: 1px solid var(--border-color); vertical-align: middle; }
th { font-weight: 600; color: var(--text-muted); font-size: 0.85em; text-transform: uppercase; letter-spacing: 0.5px; }
td { font-size: 0.95em; }
tbody tr:hover { background-color: #F8FAFC; }
.badge { padding: 4px 10px; border-radius: 6px; font-weight: 600; font-size: 0.85em; display: inline-block; }
.badge-sim { background: #DCFCE7; color: #16A34A; }
.badge-nao { background: #FEE2E2; color: #DC2626; }