/* =========================
   BASE
========================= */
* {
    box-sizing: border-box;
}
body {
    margin: 0;
    font-family: system-ui, -apple-system, Arial, sans-serif;
    background: #0f0f0f;
    color: #fff;
}
.top-back {
    display: inline-block;
    margin-bottom: 15px;
    color: #aaa;
    text-decoration: none;
    font-size: 14px;
    transition: 0.2s;
}

.top-back:hover {
    color: #fff;
}
/* =========================
   CONTAINER
========================= */

.container {
    width: 680px;
    margin: 40px auto;
    background: #1b1b1b;
    padding: 28px;
    border-radius: 14px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
}

/* =========================
   TITULOS
========================= */

h1 {
    margin-bottom: 20px;
    font-size: 26px;
}

h2 {
    margin-top: 0;
    font-size: 20px;
}

/* =========================
   PROGRESS BAR
========================= */

.progress {
    width: 100%;
    height: 8px;
    background: #2a2a2a;
    border-radius: 50px;
    overflow: hidden;
    margin-bottom: 22px;
}

.progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00c46a, #00a3ff);
    transition: width 0.4s ease;
}

/* =========================
   STEPS (WIZARD)
========================= */

.step {
    display: none;
    animation: fadeIn 0.3s ease;
}

.step.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   INPUTS
========================= */

input, select,
textarea {
    width: 100%;
    max-width: 100%;
    padding: 12px 14px;
    margin: 10px 0;
    border-radius: 10px;
    border: 1px solid #2c2c2c;
    background: #222;
    color: #fff;
    outline: none;
    font-size: 14px;
    transition: 0.2s;
    display: block;
}

input:focus,
textarea:focus {
    border-color: #00c46a;
    box-shadow: 0 0 0 3px rgba(0,196,106,0.15);
}

/* =========================
   TEXTAREA
========================= */

textarea {
    resize: none;
    min-height: 120px;
}

/* =========================
   BOTÕES
========================= */

button {
    width: 100%;
    padding: 12px;
    margin-top: 12px;
    border: none;
    border-radius: 10px;
    background: #00c46a;
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    transition: 0.2s;
}

button:hover {
    background: #00a85a;
    transform: translateY(-1px);
}

button:active {
    transform: scale(0.98);
}

/* BOTÃO VOLTAR */
button[formaction] {
    background: #333;
}

button[formaction]:hover {
    background: #444;
}

/* =========================
   HINT TEXT
========================= */

.hint {
    font-size: 12px;
    opacity: 0.7;
    margin-bottom: 10px;
}

/* =========================
   VIDEO PREVIEW
========================= */

video {
    width: 100%;
    border-radius: 12px;
    margin-top: 12px;
    border: 1px solid #2a2a2a;
}

/* =========================
   RESPONSIVO
========================= */

@media (max-width: 720px) {
    .container {
        width: 92%;
        margin: 20px auto;
        padding: 20px;
    }
}