/**
 * Estilos do Onboarding
 */

/* Variáveis CSS */
:root {
    --primary-color: #6b3c90;
    --primary-foreground: #ffffff;
    --secondary-color: #f5f5f5;
    --text-primary: #1f2937;
    --text-secondary: #6b7280;
    --border-color: #e5e7eb;
    --error-color: #ef4444;
    --success-color: #10b981;
    --shadow-custom: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Reset e Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body.onboarding-body {
    font-family: "Raleway", sans-serif;
    background-color: #ffffff;
    color: var(--text-primary);
    line-height: 1.6;
}

/* Layout Flexbox Utilities */
.flex {
    display: flex;
}

.flex-col {
    flex-direction: column;
}

.items-center {
    align-items: center;
}

.justify-center {
    justify-content: center;
}

.justify-between {
    justify-content: space-between;
}

.w-full {
    width: 100%;
}

.w-60-percent {
    width: 60%;
}

.w-40-percent {
    width: 40%;
}

.lg-block {
    display: none;
}

.lg-hidden {
    display: block;
}

.lg-w-40-percent {
    width: 100%;
}

.min-h-screen {
    min-height: 100vh;
}

.p-4 {
    padding: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.mb-16 {
    margin-bottom: 4rem;
}

.mt-12 {
    margin-top: 3rem;
}

.mb-12 {
    margin-bottom: 3rem;
}

.px-9 {
    padding-left: 2.25rem;
    padding-right: 2.25rem;
}

.gap-12 {
    gap: 3rem;
}

.space-y-2>*+* {
    margin-top: 0.5rem;
}

.space-y-3>*+* {
    margin-top: 0.75rem;
}

.space-y-6>*+* {
    margin-top: 1.5rem;
}

.space-y-12>*+* {
    margin-top: 1rem;
}

/* Logo */
.logo-header,
.logo-mobile {
    max-width: 200px;
    height: auto;
}

/* Card de Registro */
.card-register {
    border: none;
    background: transparent;
    box-shadow: none;
}

.card-header-register {
    margin-bottom: 2rem;
}

.card-title-register {
    text-align: center;
}

.card-title-register h1 {
    font-size: 2rem;
    font-weight: bold;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.card-title-register .subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.icon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 64px;
    height: 64px;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: var(--shadow-custom);
}

.icon-container i {
    font-size: 1.5rem;
    color: var(--primary-color);
}

/* Formulários */
.form-register,
.form-container {
    width: 100%;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-field {
    margin-bottom: 1rem;
}

.form-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: var(--text-primary);
    text-align: left;
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background-color: var(--secondary-color);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: #ffffff;
}

.form-input.error {
    border-color: var(--error-color);
    background-color: #fef2f2;
}

.form-input.error:focus {
    border-color: var(--error-color);
    background-color: #ffffff;
}

.form-input.valid {
    border-color: var(--success-color);
    background-color: #f0fdf4;
}

.form-input.valid:focus {
    border-color: var(--success-color);
    background-color: #ffffff;
}

.password-input-wrapper {
    position: relative;
}

.password-toggle {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
}

.password-toggle:hover {
    color: var(--text-primary);
}

/* Botões */
.btn-primary {
    width: 100%;
    padding: 0.875rem 1.5rem;
    background-color: var(--primary-color);
    color: var(--primary-foreground);
    border: none;
    border-radius: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover {
    background-color: #401b5d;
    transform: translateY(-1px);
    box-shadow: var(--shadow-custom);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.btn-back {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.btn-back:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.02);
}

.btn-back:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Mensagens de Erro */
.error-message {
    display: none;
    color: var(--error-color);
    font-size: 0.875rem;
    margin-top: 0.25rem;
    align-items: center;
    gap: 0.25rem;
}

.error-message.show {
    display: flex;
}

.password-help-text {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-top: 8px;
}

.password-help-text i {
    margin-right: 4px;
    color: var(--primary-color);
}

.password-help-text strong {
    color: var(--text-primary);
    font-weight: 600;
}

.password-help-text ul {
    margin: 4px 0 0 20px;
    padding: 0;
    list-style-type: disc;
}

.password-help-text ul li {
    margin: 2px 0;
    color: var(--text-secondary);
}

/* Login status indicator */
.login-status {
    display: none;
    font-size: 0.8rem;
    margin-top: 0.25rem;
    align-items: center;
    gap: 0.25rem;
    transition: all 0.2s ease;
}

.login-status.show {
    display: flex;
}

.login-status.disponivel {
    color: var(--success-color);
}

.login-status.indisponivel {
    color: var(--error-color);
}

.login-status.verificando {
    color: var(--text-secondary);
}

.login-status i {
    font-size: 0.75rem;
}

/* Navbar */
.onboarding-navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 1rem 0;
}

.navbar-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

.navbar-logo-link:hover {
    opacity: 0.8;
}

.navbar-logo {
    max-height: 40px;
    width: auto;
    height: auto;
}

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-user-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    color: var(--text-primary);
    padding: 0.5rem 1rem;
    background-color: rgba(0, 0, 0, 0.02);
    border-radius: 0.5rem;
}

.navbar-user-name {
    font-weight: 500;
    color: var(--text-primary);
}

.navbar-separator {
    color: var(--text-secondary);
    margin: 0 0.25rem;
}

.navbar-company-name {
    color: var(--text-secondary);
    font-style: italic;
}

.navbar-exit-btn {
    background: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-secondary);
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 40px;
    height: 40px;
}

.navbar-exit-btn:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.02);
}

.navbar-exit-btn i {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .navbar-container {
        padding: 0 1rem;
    }

    .navbar-logo {
        max-height: 32px;
    }

    .navbar-user-info {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem;
        gap: 0.25rem;
    }

    .navbar-user-name,
    .navbar-company-name {
        max-width: 100px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .navbar-exit-btn {
        min-width: 36px;
        height: 36px;
        padding: 0.4rem 0.8rem;
    }

    .navbar-exit-btn span {
        display: none;
    }
}

/* Modal de Sair */
.exit-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.exit-modal.active {
    display: flex;
}

.exit-modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

.exit-modal-content {
    position: relative;
    background: #ffffff;
    border-radius: 1rem;
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    max-width: 500px;
    width: 100%;
    z-index: 1;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.exit-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.exit-modal-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.exit-modal-title i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.exit-modal-close {
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.25rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: all 0.2s ease;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-modal-close:hover {
    background: var(--secondary-color);
    color: var(--text-primary);
}

.exit-modal-body {
    padding: 1.5rem;
}

.exit-modal-message {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    text-align: center;
}

.exit-modal-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.exit-option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #f9fafb;
    border: 2px solid var(--border-color);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    width: 100%;
}

.exit-option-btn:hover {
    background: #f3f4f6;
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(138, 84, 176, 0.1);
}

.exit-option-btn i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
}

.exit-option-btn div {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.exit-option-btn strong {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
}

.exit-option-btn span {
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.exit-option-danger {
    border-color: var(--error-color);
}

.exit-option-danger:hover {
    border-color: var(--error-color);
    background: #fef2f2;
}

.exit-option-danger i {
    color: var(--error-color);
}

.exit-option-danger strong {
    color: var(--error-color);
}

@media (max-width: 768px) {
    .exit-modal-content {
        max-width: 100%;
        margin: 1rem;
    }

    .exit-modal-header,
    .exit-modal-body {
        padding: 1.25rem;
    }
}

/* Header do Onboarding */
.onboarding-header {
    margin-top: 6rem;
    margin-bottom: 0rem;
    padding-top: 1rem;
}

/* Container Principal */
.onboarding-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
    padding: 2rem;
}

/* Cards de Opção */
.option-card {
    width: 300px;
    height: 300px;
    border: 1px solid var(--border-color);
    border-radius: 0.5rem;
    background: var(--secondary-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 1rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s ease;
    box-shadow: var(--shadow-custom);
}

.option-card:hover {
    transform: scale(1.05);
}

.option-overlay {
    position: absolute;
    inset: 0;
    background: var(--primary-color);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s ease;
}

.option-card:hover .option-overlay {
    transform: scaleX(1);
}

.option-icon {
    font-size: 5rem;
    color: var(--primary-color);
    position: relative;
    z-index: 10;
    transition: color 0.5s ease;
    margin-bottom: 0.5rem;
}

.option-card:hover .option-icon {
    color: #ffffff;
}

.option-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    z-index: 10;
    transition: color 0.5s ease;
    margin-bottom: 0.5rem;
}

.option-card:hover .option-title {
    color: #ffffff;
}

.option-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    position: relative;
    z-index: 10;
    transition: color 0.5s ease;
    word-wrap: break-word;
}

.option-card:hover .option-description {
    color: #ffffff;
}

/* Barra de Progresso */
.progress-container {
    width: 50%;
    position: relative;
}

.progress-bar {
    width: 100%;
    height: 2px;
    background-color: var(--border-color);
    position: relative;
    margin-bottom: 2rem;
}

.progress-fill {
    height: 100%;
    background-color: var(--primary-color);
    transition: width 0.5s ease;
}

.progress-steps {
    position: relative;
    width: 100%;
    height: 83px;
}

.progress-step {
    position: absolute;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--secondary-color);
    border: 2px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translate(-50%, -50%);
    top: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
}

.progress-step i {
    font-size: 1.25rem;
    color: var(--text-secondary);
}

.progress-step.active {
    border-color: var(--primary-color);
    background: var(--secondary-color);
}

.progress-step.active i {
    color: var(--primary-color);
}

.progress-step.completed {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.progress-step.completed i {
    color: #ffffff;
}

/* Tipografia */
.text-center {
    text-align: center;
}

.text-4xl {
    font-size: 2.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.text-xl {
    font-size: 1.25rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.text-gray-400 {
    color: var(--text-secondary);
}

.text-zinc-900 {
    color: var(--text-primary);
}

.text-primary {
    color: var(--primary-color);
}

.icon-large {
    font-size: 5rem;
    margin-bottom: 1rem;
}

.max-w-xl {
    max-width: 36rem;
}

/* Responsive */
@media (min-width: 1024px) {
    .lg-block {
        display: block;
    }

    .lg-hidden {
        display: none;
    }

    .lg-w-40-percent {
        width: 40%;
    }

    .md-flex-row {
        flex-direction: row;
    }
}

/* Utilitários */
.ml-2 {
    margin-left: 0.5rem;
}

.w-full {
    width: 100%;
}

/* Animações */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.onboarding-container>* {
    animation: fadeIn 0.5s ease;
}

/* Modal de Continuar */
#modalContinuar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

#modalContinuar>div {
    background: white;
    padding: 2rem;
    border-radius: 8px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    animation: fadeIn 0.3s ease;
}

#modalContinuar h3 {
    margin-top: 0;
    color: var(--text-primary);
    font-size: 1.5rem;
}

#modalContinuar p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

#modalContinuar .modal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

#modalContinuar button {
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: none;
}

#modalContinuar #btnContinuarNao {
    background: var(--secondary-color);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

#modalContinuar #btnContinuarNao:hover {
    background: #e5e5e5;
}

#modalContinuar #btnContinuarSim {
    background: var(--primary-color);
    color: var(--primary-foreground);
}

#modalContinuar #btnContinuarSim:hover {
    background: #401b5d;
    transform: translateY(-1px);
    box-shadow: var(--shadow-custom);
}

/* Cards de Configurar WhatsApp */
.whatsapp-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem;
    text-align: left;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-custom);
    background: transparent;
    transition: all 0.3s ease;
    gap: 1.5rem;
    width: 100%;
    max-width: 750px;
    min-height: 131px;
}

@media (min-width: 768px) {
    .whatsapp-card {
        flex-direction: row;
        align-items: center;
        padding: 1.5rem;
    }
}

.whatsapp-card-icon {
    font-size: 3rem;
    color: #6b3c90;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

@media (max-width: 767px) {
    .whatsapp-card-icon {
        font-size: 2rem;
        width: 32px;
        height: 32px;
    }
}

.whatsapp-card-content {
    flex-grow: 1;
    text-align: left;
}

.whatsapp-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .whatsapp-card-title {
        font-size: 1.125rem;
    }
}

.whatsapp-card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

@media (max-width: 767px) {
    .whatsapp-card-description {
        font-size: 0.75rem;
    }
}

.whatsapp-card-steps {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.whatsapp-card-steps p {
    margin: 0.25rem 0;
}

@media (max-width: 767px) {
    .whatsapp-card-steps {
        font-size: 0.75rem;
    }
}

.whatsapp-card-buttons {
    display: flex;
    flex-direction: row;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

@media (min-width: 768px) {
    .whatsapp-card-buttons {
        flex-direction: column;
        gap: 0.75rem;
        margin-top: 0;
    }
}

.app-store-button,
.play-store-button {
    display: flex;
    width: 100px;
    height: 36px;
    padding: 0.375rem 0.5rem;
    justify-content: center;
    align-items: center;
    gap: 0.25rem;
    border-radius: 0.25rem;
    background: #000000;
    border: 1px solid #374151;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
}

.app-store-button:hover,
.play-store-button:hover {
    background: #1a1a1a;
    transform: translateY(-1px);
}

@media (min-width: 768px) {

    .app-store-button,
    .play-store-button {
        width: 120px;
        height: 40px;
        gap: 0.5rem;
    }
}

.app-store-button i,
.play-store-button svg {
    width: 28px;
    height: 28px;
    color: white;
    fill: white;
}

.app-store-label {
    font-size: 0.4375rem;
    font-weight: 200;
    color: white;
    margin: 0;
    line-height: 1;
}

@media (min-width: 768px) {
    .app-store-label {
        font-size: 0.5625rem;
    }
}

.app-store-title {
    font-size: 0.75rem;
    font-weight: 600;
    color: white;
    margin: 0;
    line-height: 1;
}

@media (min-width: 768px) {
    .app-store-title {
        font-size: 0.875rem;
    }
}

.play-store-button .app-store-title {
    font-size: 0.625rem;
}

@media (min-width: 768px) {
    .play-store-button .app-store-title {
        font-size: 0.75rem;
    }
}

.btn-primary-outline {
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-primary-outline:hover {
    background: var(--secondary-color);
    color: var(--text-primary);
    border-color: var(--text-primary);
}

.sm-gap-24 {
    gap: 6rem;
}

@media (max-width: 640px) {
    .sm-gap-24 {
        gap: 1rem;
    }
}

/* ==============================
   CRIAR EMPRESA
   ============================== */
.gradient-text {
    background: linear-gradient(to right, #6b3c90, #ec4899, #6b3c90);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient-shift 3s ease infinite;
}

@keyframes gradient-shift {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.animate-pulse-text {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.creating-company-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    text-align: left;
    border-radius: 0.5rem;
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-custom);
    background: transparent;
    transition: all 0.3s ease;
    gap: 1.5rem;
    width: 100%;
    max-width: 750px;
    min-height: 131px;
}

@media (min-width: 768px) {
    .creating-company-card {
        flex-direction: row;
        align-items: center;
    }
}

.creating-company-icon {
    font-size: 2.5rem;
    color: #6b3c90;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.creating-company-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    flex-wrap: nowrap;
    width: 100%;
    max-width: 750px;
    margin-top: 1rem;
    padding: 1.5rem;
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 0.75rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.creating-company-actions .btn-back,
.creating-company-actions .btn-primary {
    flex: 1;
    min-width: 200px;
    max-width: 300px;
    height: 48px;
    font-size: 15px;
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    white-space: nowrap;
}

.creating-company-actions .btn-back {
    background: transparent;
    color: var(--text-secondary);
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
}

.creating-company-actions .btn-back:hover {
    color: var(--text-primary);
    border-color: var(--text-primary);
    background-color: rgba(0, 0, 0, 0.02);
}

.creating-company-actions .btn-back:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media (max-width: 768px) {
    .creating-company-actions {
        flex-direction: column;
        padding: 1rem;
        gap: 0.75rem;
    }

    .creating-company-actions .btn-back,
    .creating-company-actions .btn-primary {
        width: 100%;
        min-width: auto;
        max-width: 100%;
    }
}

/* ==============================
   QR CODE
   ============================== */
.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    background: #ffffff;
    border: 2px solid var(--border-color);
    border-radius: 0.5rem;
    box-shadow: var(--shadow-custom);
    min-width: 300px;
    min-height: 300px;
}

.qr-code-container img {
    max-width: 100%;
    height: auto;
    border-radius: 0.25rem;
}

.qr-code-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    color: var(--text-secondary);
    min-height: 300px;
}

.qr-code-placeholder i {
    font-size: 4rem;
    color: var(--border-color);
}

.qr-code-placeholder p {
    font-size: 1rem;
    color: var(--text-secondary);
}

.qr-code-instructions {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.8;
}

.qr-code-instructions p {
    margin: 0.5rem 0;
}

/* ==============================
   TOAST NOTIFICATIONS
   ============================== */
#toast-container {
    position: fixed;
    top: 1.5rem;
    right: 1.5rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    max-width: 420px;
    pointer-events: none;
}

.toast {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 0.5rem;
    background: #ffffff;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.15), 0 4px 10px -2px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #6b7280;
    transform: translateX(120%);
    opacity: 0;
    transition: transform 0.35s ease, opacity 0.35s ease;
    font-size: 0.9rem;
    pointer-events: auto;
}

.toast.toast-show {
    transform: translateX(0);
    opacity: 1;
}

.toast-success {
    border-left-color: var(--success-color);
}

.toast-error {
    border-left-color: var(--error-color);
}

.toast-warning {
    border-left-color: #f59e0b;
}

.toast-info {
    border-left-color: #3b82f6;
}

.toast-icon {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.toast-success .toast-icon {
    color: var(--success-color);
}

.toast-error .toast-icon {
    color: var(--error-color);
}

.toast-warning .toast-icon {
    color: #f59e0b;
}

.toast-info .toast-icon {
    color: #3b82f6;
}

.toast-message {
    flex: 1;
    color: var(--text-primary);
    line-height: 1.4;
}

.toast-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.25rem;
    font-size: 0.8rem;
    flex-shrink: 0;
    opacity: 0.6;
    transition: opacity 0.2s ease;
}

.toast-close:hover {
    opacity: 1;
}

/* Version Badge */
.version-badge {
    position: fixed;
    bottom: 0.5rem;
    right: 0.75rem;
    font-size: 0.7rem;
    color: var(--text-secondary);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

/* Responsive toast */
@media (max-width: 480px) {
    #toast-container {
        top: 0.75rem;
        right: 0.75rem;
        left: 0.75rem;
        max-width: none;
    }
}
/* selo de versão só para a equipe (não aparece para o lead) */
.version-badge { display: none !important; }

/* Etapa X de Y */
.progress-label {
    text-align: center;
    margin: 10px 0 0;
    font-size: 14px;
    color: #6b7280;
}

.progress-label b {
    color: #6b3c90;
}
