/* garant_smart/static/css/public.css */

.public-layout { display: flex; flex-direction: column; min-height: 100vh; }
.public-header { background-color: var(--surface-color); border-bottom: 1px solid var(--border-color); }
.public-nav {
    display: flex; justify-content: space-between; align-items: center;
    max-width: 1024px; margin: 0 auto; height: 72px; padding: 0 1.5rem;
}
.public-nav .brand a { font-size: 1.25rem; font-weight: 700; text-decoration: none; color: var(--text-primary); }
.public-nav .nav-links { display: flex; gap: 2rem; }
.public-main { flex-grow: 1; padding: 3rem 1.5rem; }
.content-container { max-width: 640px; margin: 0 auto; }
.public-footer { padding: 2rem 1.5rem; text-align: center; color: var(--text-secondary); font-size: 0.875rem; }

/* Componentes (Card, Formulários) */
article {
    background-color: var(--surface-color); border: 1px solid var(--border-color);
    border-radius: var(--border-radius); padding: 2.5rem; box-shadow: var(--box-shadow);
}
article header { padding-bottom: 1.5rem; margin-bottom: 1.5rem; border-bottom: 1px solid var(--border-color); }
article header h2 { font-size: 1.75rem; margin: 0 0 0.25rem 0; }
article header p { margin: 0; }

form label { display: block; font-weight: 500; margin-bottom: 0.5rem; }
form input[type="text"], form input[type="email"], form input[type="search"],
form input[type="password"], form input[type="tel"], form input[type="date"],
form select, form textarea {
    width: 100%; padding: 0.75rem 1rem;
    border: 1px solid var(--border-color); background-color: var(--bg-color);
    color: var(--text-primary); border-radius: var(--border-radius);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
form input:focus, form select:focus, form textarea:focus {
    outline: none; border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
}
form button[type="submit"] { width: 100%; margin-top: 1.5rem; }

/* Wizard de Ativação */
.wizard-steps { display: flex; justify-content: space-between; margin-bottom: 2rem; padding: 0; list-style: none; }
.wizard-step { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 0.5rem; color: var(--text-secondary); font-weight: 500; flex: 1; position: relative; font-size: 0.875rem; }
.wizard-step:not(:last-child)::after {
    content: ''; position: absolute; top: 16px; left: 50%; width: 100%;
    height: 2px; background-color: var(--border-color); z-index: -1;
}
.wizard-step .step-circle {
    width: 32px; height: 32px; border-radius: 50%; background-color: var(--surface-color);
    border: 2px solid var(--border-color); display: flex; align-items: center; justify-content: center; font-weight: 600; transition: all 0.3s ease; z-index: 1;
}
.wizard-step.active .step-circle { border-color: var(--primary); color: var(--primary); }
.wizard-step.completed .step-circle { border-color: var(--primary); background-color: var(--primary); color: white; }
.wizard-step.completed::after { background-color: var(--primary); }
.wizard-content { display: none; }
.wizard-content.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
.wizard-navigation { display: flex; justify-content: space-between; margin-top: 2rem; }
.wizard-navigation button { width: auto; }

/* Página de Sucesso */
.success-page { text-align: center; }
.success-icon { color: var(--success); }
.protocol-card {
    background-color: var(--bg-color); border: 2px dashed var(--border-color);
    padding: 1.5rem; border-radius: var(--border-radius); margin: 2rem 0;
}
.protocol-card .protocol-number { font-size: 2rem; font-weight: 700; font-family: monospace; color: var(--primary); }