/* AUTH FORM */
.auth-form { max-width: 400px; margin: 0 auto; padding: 2rem; background: var(--card); border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.auth-form h3 { text-align: center; margin-bottom: 1.5rem; }
.auth-form input { width: 100%; padding: 0.75rem; margin: 0.5rem 0 1rem; border: 1px solid var(--border); border-radius: 6px; font-size: 1rem; }
.auth-form button { width: 100%; padding: 0.75rem; background: var(--primary); color: white; border: none; border-radius: 6px; font-size: 1rem; font-weight: 600; cursor: pointer; transition: background 0.2s; }
.auth-form button:hover { background: var(--primary-light); }
.auth-error { color: var(--danger); margin-bottom: 1rem; font-weight: 500; display: none; }
.auth-error.show { display: block; }

/* CLIENT CONTENT */
.client-content { display: none; }
.client-content.active { display: block; }
.logout-btn { background: var(--danger); color: white; border: none; padding: 0.5rem 1rem; border-radius: 4px; cursor: pointer; font-weight: 500; margin-left: auto; }
.logout-btn:hover { opacity: 0.9; }

/* CLIENT DASHBOARD */
.client-dashboard { background: var(--card); border-radius: 12px; padding: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.client-welcome { background: linear-gradient(135deg, var(--primary), var(--primary-light)); color: white; padding: 1.5rem; border-radius: 8px; margin-bottom: 2rem; }
.client-welcome h2 { color: white; border: none; margin-bottom: 0.5rem; }
.client-welcome p { color: rgba(255,255,255,0.9); margin-bottom: 0.5rem; }
.client-welcome-header { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 1rem; }
.client-info-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; margin-top: 1rem; }
.client-info-item { background: rgba(255,255,255,0.1); padding: 1rem; border-radius: 6px; }
.client-info-item strong { display: block; color: var(--secondary); margin-bottom: 0.25rem; }

/* PLANOS */
.admin-badge { background: var(--secondary); color: black; padding: 0.25rem 0.75rem; border-radius: 20px; font-weight: 700; font-size: 0.85rem; margin-left: 0.5rem; }
.planos-lista { margin-top: 1rem; }
.plano-item { background: rgba(255,255,255,0.1); padding: 0.75rem 1rem; border-radius: 6px; margin-bottom: 0.5rem; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 0.5rem; }
.plano-nome { font-weight: 600; color: var(--secondary); min-width: 120px; }
.plano-datas { display: flex; gap: 1rem; flex-wrap: wrap; font-size: 0.9rem; }
.plano-data { color: rgba(255,255,255,0.9); }
.plano-dias { background: var(--secondary); color: black; padding: 0.25rem 0.75rem; border-radius: 20px; font-weight: 700; font-size: 0.85rem; }

/* CLIENT SELECTOR */
.client-selector { background: var(--background); padding: 1rem; border-radius: 8px; margin-bottom: 1.5rem; }
.client-selector h3 { margin-bottom: 1rem; }
.client-selector label { display: block; font-weight: 600; color: var(--primary); margin-bottom: 0.5rem; }
.client-selector select { width: 100%; padding: 0.5rem; border: 1px solid var(--border); border-radius: 4px; font-size: 1rem; }
.client-selector-row { display: grid; grid-template-columns: 1fr 1fr 1fr auto; gap: 1rem; align-items: end; }

/* CLIENT STATS */
.client-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 1rem; margin-top: 1.5rem; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 8px; padding: 1rem; text-align: center; }
.stat-value { font-size: 1.8rem; font-weight: 700; color: var(--primary); }
.stat-label { font-size: 0.85rem; color: var(--muted); margin-top: 0.25rem; }

/* REPORT CARDS */
.client-reports-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 1.5rem; margin-top: 2rem; }
.report-card { background: var(--background); border: 2px solid var(--border); border-radius: 8px; padding: 1.5rem; text-align: center; cursor: pointer; transition: all 0.3s; position: relative; }
.report-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 4px 12px rgba(0,61,121,0.15); }
.report-card.active { border-color: var(--secondary); background: var(--header-bg); }
.report-card.locked { opacity: 0.5; cursor: not-allowed; }
.report-card.locked::after { content: ""; position: absolute; top: 10px; right: 10px; font-size: 1.5rem; }
.report-card-icon { font-size: 2.5rem; margin-bottom: 0.5rem; }
.report-card-title { font-weight: 600; color: var(--primary); margin-bottom: 0.25rem; }
.report-card-desc { font-size: 0.85rem; color: var(--muted); }

/* CLIENT REPORT CONTENT */
.client-report-content { margin-top: 2rem; padding: 1.5rem; background: var(--background); border-radius: 8px; min-height: 400px; }
.client-report-content h3 { color: var(--primary); margin-bottom: 1rem; border-bottom: 2px solid var(--secondary); padding-bottom: 0.5rem; }

/* FAQ PÚBLICO BOX */
.faq-publico-box { background: var(--header-bg); border: 2px solid var(--secondary); border-radius: 12px; padding: 2rem; margin-bottom: 2rem; text-align: center; }
.faq-publico-box h3 { color: var(--primary); margin-bottom: 1rem; }
.faq-publico-box p { color: var(--muted); margin-bottom: 1.5rem; }