/* Reset e configurações base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    text-decoration: none !important;
}

:root {
    /* Cores do modo claro */
    --bg-primary: #ffffff;
    --bg-secondary: #000000;
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-light: #999999;
    --border-color: #e0e0e0;
    --input-bg: #ffffff;
    --button-primary: #000000;
    --button-secondary: #f5f5f5;
    --button-text: #ffffff;
    --button-text-secondary: #333333;
    --divider-color: #e0e0e0;
}

[data-theme="dark"] {
    /* Cores do modo escuro */
    --bg-primary: #000000;
    --bg-secondary: #ffffff;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-light: #999999;
    --border-color: #333333;
    --input-bg: #1a1a1a;
    --button-primary: #ffffff;
    --button-secondary: #333333;
    --button-text: #000000;
    --button-text-secondary: #ffffff;
    --divider-color: #333333;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-height: 100vh;
}

/* Logo no formulário */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    padding-top: 2rem;
}

/* Header das páginas de cadastro */
.header {
    background-color: var(--bg-primary);
    padding: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background-color 0.3s ease;
}

.header .logo-container {
    padding-top: 1rem;
    margin-bottom: 0;
}



.logo {
    height: 85px;
    width: auto;
    transition: opacity 0.3s ease;
}

.dark-logo {
    display: block !important;
}

[data-theme="dark"] .dark-logo {
    display: none !important;
}

[data-theme="dark"] #main-logo,
[data-theme="dark"] #main-logo-selection {
    display: block !important;
}

#main-logo,
#main-logo-selection {
    display: none !important;
}

/* Botão de alternância de tema */
.theme-toggle {
    background-color: var(--bg-secondary);
    border: 2px solid var(--border-color);
    color: var(--bg-primary);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="dark"] .theme-toggle {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.theme-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.2);
}

[data-theme="dark"] .theme-toggle:hover {
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}

.theme-icon {
    transition: all 0.3s ease;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.moon-icon {
    fill: currentColor;
    stroke: none;
}

.sun-icon {
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
}

.theme-toggle:hover .theme-icon {
    transform: rotate(20deg);
}

/* Animação suave na transição entre ícones */
.theme-icon {
    transition: opacity 0.2s ease, transform 0.3s ease;
}

/* Conteúdo principal */
.main-content {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
}

.login-container {
    width: 100%;
    max-width: 400px;
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .login-container {
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

/* Título */
.login-title {
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.3;
}

/* Formulário */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Campo de entrada */
.input-field {
    width: 100%;
    padding: 1rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    background-color: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
}

.input-field:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .input-field:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.input-field::placeholder {
    color: var(--text-light);
}

/* Campo com erro */
.input-field.error {
    border-color: #e74c3c;
    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
    animation: shake 0.5s ease-in-out;
}

/* Grupo com erro */
.form-group.has-error {
    background-color: rgba(231, 76, 60, 0.05);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(231, 76, 60, 0.2);
}

.form-group.has-error .form-label {
    color: #e74c3c;
}

/* Botão principal */
.continue-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--button-primary);
    color: var(--button-text);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.continue-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.continue-btn:active {
    transform: translateY(0);
}

/* Divisor */
.divider {
    position: relative;
    text-align: center;
    margin: 1rem 0;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: var(--divider-color);
    z-index: 1;
}

.divider-text {
    background-color: var(--bg-primary);
    color: var(--text-secondary);
    padding: 0 1rem;
    font-size: 0.875rem;
    position: relative;
    z-index: 2;
}

/* Botões sociais */
.social-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--button-secondary);
    color: var(--button-text-secondary);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
}

.social-btn:hover {
    background-color: var(--border-color);
    transform: translateY(-1px);
}

.social-btn:active {
    transform: translateY(0);
}

.google-btn:hover {
    border-color: #4285F4;
}

.apple-btn:hover {
    border-color: var(--text-primary);
}

/* Ícones */
.google-icon,
.apple-icon {
    flex-shrink: 0;
}

/* Disclaimer */
.disclaimer {
    font-size: 0.75rem;
    color: var(--text-light);
    text-align: center;
    line-height: 1.4;
    margin-top: 2rem;
    padding: 0 1rem;
}

/* ===== ESTILOS PARA PÁGINA DE CADASTRO ===== */

/* Header adicional para cadastro */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.help-btn {
    background: none;
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 500;
    transition: opacity 0.3s ease;
}

.help-btn:hover {
    opacity: 0.8;
}

.profile-btn {
    background: var(--bg-primary);
    color: var(--bg-secondary);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.profile-btn:hover {
    transform: scale(1.05);
}

/* Container do formulário de cadastro */
.form-container {
    width: 100%;
    max-width: 800px;
    background-color: var(--bg-primary);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .form-container {
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

/* Título do formulário */
.form-title {
    font-size: 2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.3;
}

/* Seções do formulário */
.form-section {
    margin-bottom: 2.5rem;
}

.section-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-color);
}

/* Grupos de formulário */
.form-group {
    margin-bottom: 1.5rem;
}

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

/* Linhas de formulário */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

/* Campos de entrada */
.registration-form .input-field,
.registration-form select {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    background-color: var(--input-bg);
    color: var(--text-primary);
    transition: all 0.3s ease;
    font-family: inherit;
}

.registration-form select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.875rem center;
    padding-right: 2.5rem;
}

[data-theme="dark"] .registration-form select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23ccc' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
}

.registration-form .input-field:focus,
.registration-form select:focus {
    outline: none;
    border-color: var(--text-primary);
    box-shadow: 0 0 0 3px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .registration-form .input-field:focus,
[data-theme="dark"] .registration-form select:focus {
    box-shadow: 0 0 0 3px rgba(255, 255, 255, 0.1);
}

.registration-form .input-field::placeholder {
    color: var(--text-light);
}

/* Textarea */
.textarea {
    resize: vertical;
    min-height: 100px;
}

/* Field hints */
.field-hint {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

/* Add child button */
.add-child-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    background-color: var(--button-secondary);
    color: var(--text-primary);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-child-btn:hover {
    background-color: var(--border-color);
}

/* Info Box */
.info-box {
    background-color: var(--input-bg);
    border-left: 4px solid var(--text-primary);
    border-radius: 6px;
    padding: 1rem 1.25rem;
    margin: 1.5rem 0;
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-box svg {
    flex-shrink: 0;
    color: var(--text-primary);
    margin-top: 0.125rem;
}

.info-box-content {
    flex: 1;
}

.info-box-content strong {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.375rem;
}

.info-box-content p {
    font-size: 0.875rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin: 0;
}

/* Package Info */
.package-info {
    background-color: var(--input-bg);
    border: 2px solid var(--text-primary);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 1rem;
}

.package-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
    text-align: center;
}

.package-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.package-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 0;
}

.package-label {
    font-size: 0.875rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.package-value {
    font-size: 0.875rem;
    color: var(--text-primary);
    font-weight: 600;
}

.package-price {
    font-size: 1.25rem;
    color: var(--text-primary);
}

/* Section subtitle */
.section-subtitle {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Grupos de radio e checkbox */
.radio-group,
.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.radio-label,
.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    font-size: 0.875rem;
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.radio-label:hover,
.checkbox-label:hover {
    color: var(--text-secondary);
}

/* Radio buttons customizados */
.radio-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 50%;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.radio-label input[type="radio"] {
    display: none;
}

.radio-label input[type="radio"]:checked+.radio-custom {
    border-color: var(--text-primary);
}

.radio-label input[type="radio"]:checked+.radio-custom::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: var(--text-primary);
}

/* Checkboxes customizados */
.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom {
    border-color: var(--text-primary);
    background-color: var(--text-primary);
}

.checkbox-label input[type="checkbox"]:checked+.checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: var(--bg-primary);
    font-size: 12px;
    font-weight: bold;
}

/* Perfis de redes sociais */
.social-profile {
    background-color: var(--input-bg);
    padding: 1.5rem;
    border-radius: 8px;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

[data-theme="dark"] .social-profile {
    background-color: var(--input-bg);
    border-color: var(--border-color);
}

.profile-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

/* Grid de habilidades */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.skill-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.skill-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-primary);
}

.skill-rating {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.skill-slider {
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: var(--border-color);
    outline: none;
    -webkit-appearance: none;
}

.skill-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.skill-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
}

.skill-slider::-moz-range-thumb {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--text-primary);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
}

.skill-value {
    font-weight: 600;
    color: var(--text-primary);
    min-width: 20px;
    text-align: center;
}

/* Upload de arquivo */
.file-input {
    padding: 0.5rem;
    cursor: pointer;
}

.file-info {
    margin-top: 0.5rem;
    font-size: 0.75rem;
    color: var(--text-light);
}

.file-info p {
    margin: 0.25rem 0;
}

/* Termos e condições */
.terms-checkbox {
    align-items: flex-start;
    gap: 1rem;
}

.terms-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: var(--text-secondary);
}

.terms-link {
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.terms-link:hover {
    color: #0056b3;
    text-decoration: underline;
}

[data-theme="dark"] .terms-link {
    color: #66b3ff;
}

[data-theme="dark"] .terms-link:hover {
    color: #99ccff;
}

/* Botão de envio */
.submit-btn {
    width: 100%;
    padding: 1rem;
    background-color: var(--button-primary);
    color: var(--button-text);
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
}

.submit-btn:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* ===== BOTÃO VOLTAR ===== */

.back-button-container {
    margin-bottom: 1.5rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 8px;
}

.back-link:hover {
    color: var(--text-primary);
    background-color: var(--button-secondary);
    transform: translateX(-4px);
}

.back-link svg {
    flex-shrink: 0;
}

/* ===== ESTILOS PARA SELEÇÃO DE TIPO DE CADASTRO ===== */

/* Container de seleção */
.selection-container {
    width: 100%;
    max-width: 900px;
    background-color: var(--bg-primary);
    border-radius: 12px;
    padding: 2.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

[data-theme="dark"] .selection-container {
    box-shadow: 0 4px 6px rgba(255, 255, 255, 0.1);
}

/* Título da seleção */
.selection-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    text-align: center;
    line-height: 1.3;
}

.selection-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    text-align: center;
    margin-bottom: 2.5rem;
    line-height: 1.5;
}

/* Grid de seleção */
.selection-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

/* Cards de seleção */
.selection-card {
    background-color: var(--bg-primary);
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    min-height: 220px;
}

.selection-card:hover {
    border-color: var(--text-primary);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
    transform: translateY(-8px);
}

[data-theme="dark"] .selection-card:hover {
    box-shadow: 0 8px 16px rgba(255, 255, 255, 0.1);
}

.selection-card:active {
    transform: translateY(-4px) scale(0.98);
}

/* Ícone da seleção */
.selection-icon {
    width: 64px;
    height: 64px;
    background-color: var(--button-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.selection-card:hover .selection-icon {
    background-color: var(--text-primary);
    transform: scale(1.1);
}

.selection-icon svg {
    color: var(--text-primary);
    transition: color 0.3s ease;
}

.selection-card:hover .selection-icon svg {
    color: var(--bg-primary);
}

/* Título do card */
.selection-card-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    transition: color 0.3s ease;
}

/* Descrição do card */
.selection-card-description {
    font-size: 0.875rem;
    color: var(--text-secondary);
    margin: 0;
    line-height: 1.5;
}

/* ===== TYPEAHEAD PARA NICHOS ===== */

.typeahead-container {
    position: relative;
    width: 100%;
}

.typeahead-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 8px 8px;
    max-height: 200px;
    overflow-y: auto;
    z-index: 1000;
    display: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .typeahead-dropdown {
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.typeahead-item {
    padding: 0.75rem 1rem;
    cursor: pointer;
    border-bottom: 1px solid var(--border-color);
    transition: background-color 0.2s ease;
    font-size: 0.875rem;
    color: var(--text-primary);
}

.typeahead-item:hover {
    background-color: var(--button-secondary);
}

.typeahead-item:last-child {
    border-bottom: none;
}

.typeahead-item.highlighted {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

/* Tags de nichos selecionados */
.selected-nichos {
    margin-top: 1.5rem;
}

.nicho-list h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
    margin-top: 1rem;
}

.nicho-list h4:first-child {
    margin-top: 0;
}

.nicho-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.nicho-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background-color: var(--button-secondary);
    color: var(--text-primary);
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 500;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.nicho-tag.primario {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.nicho-tag:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .nicho-tag:hover {
    box-shadow: 0 2px 8px rgba(255, 255, 255, 0.1);
}

.nicho-tag .remove-btn {
    background: none;
    border: none;
    color: inherit;
    cursor: pointer;
    padding: 0;
    margin-left: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    transition: background-color 0.2s ease;
}

.nicho-tag .remove-btn:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] .nicho-tag .remove-btn:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.nicho-tag .remove-btn svg {
    width: 12px;
    height: 12px;
}

/* Responsividade para typeahead */
@media (max-width: 768px) {
    .nicho-tags {
        gap: 0.375rem;
    }

    .nicho-tag {
        font-size: 0.8125rem;
        padding: 0.4375rem 0.625rem;
    }
}

/* Responsividade */
@media (max-width: 480px) {
    .main-content {
        padding: 1rem;
    }

    .login-container,
    .form-container,
    .selection-container {
        padding: 1.5rem;
        margin: 1rem 0;
    }

    .login-title,
    .form-title,
    .selection-title {
        font-size: 1.5rem;
    }

    .selection-subtitle {
        font-size: 0.875rem;
        margin-bottom: 1.5rem;
    }

    .selection-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .selection-card {
        min-height: 180px;
        padding: 1.5rem;
    }

    .selection-icon {
        width: 56px;
        height: 56px;
    }

    .selection-icon svg {
        width: 40px;
        height: 40px;
    }

    .selection-card-title {
        font-size: 1.125rem;
    }

    .theme-toggle {
        width: 48px;
        height: 48px;
        bottom: 1rem;
        right: 1rem;
    }

    .logo {
        height: 68px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 1.125rem;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .skills-grid {
        grid-template-columns: 1fr;
    }

    .selection-grid {
        grid-template-columns: 1fr;
    }

    .selection-container {
        padding: 2rem;
    }
}

/* ===== ESTILOS PARA FORMULÁRIO MULTI-ETAPAS ===== */

/* Container de progresso */
.progress-container {
    margin-bottom: 3rem;
}

.progress-bar {
    width: 100%;
    height: 4px;
    background-color: var(--border-color);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background-color: var(--text-primary);
    border-radius: 2px;
    transition: width 0.3s ease;
    width: 25%;
    /* Começa na primeira etapa */
}

/* Indicadores de etapa */
.step-indicators,
.steps-container {
    display: flex;
    justify-content: space-between;
    position: relative;
}

.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    position: relative;
    z-index: 2;
    flex: 1;
}

.step-number {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background-color: var(--border-color);
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.step.active .step-number {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.step.completed .step-number {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.step.completed .step-number::after {
    content: '✓';
    font-size: 0.75rem;
}

.step-label {
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    text-align: center;
    transition: color 0.3s ease;
}

.step.active .step-label {
    color: var(--text-primary);
    font-weight: 600;
}

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

/* Etapas do formulário */
.form-step {
    display: none;
    animation: fadeIn 0.3s ease-out;
}

.form-step.active {
    display: block;
}

.form-subtitle {
    color: var(--text-secondary);
    font-size: 1rem;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.5;
}

/* Navegação do formulário */
.form-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: inherit;
    text-decoration: none;
    min-width: 140px;
    justify-content: center;
}

.nav-btn.primary {
    background-color: var(--button-primary);
    color: var(--button-text);
}

.nav-btn.primary:hover {
    opacity: 0.9;
    transform: translateY(-1px);
}

.nav-btn.secondary {
    background-color: transparent;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

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

.nav-btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

/* Responsividade para indicadores */
@media (max-width: 768px) {

    .step-indicators,
    .steps-container {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .step {
        flex-direction: row;
        width: 100%;
        justify-content: flex-start;
        gap: 1rem;
    }

    .step-label {
        text-align: left;
        font-size: 0.875rem;
    }

    .form-navigation {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-btn {
        width: 100%;
        min-width: auto;
    }
}

@media (max-width: 480px) {

    .step-indicators,
    .steps-container {
        gap: 0.75rem;
    }

    .step-number {
        width: 28px;
        height: 28px;
        font-size: 0.75rem;
    }

    .step-label {
        font-size: 0.75rem;
    }
}

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

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

@keyframes shake {

    0%,
    100% {
        transform: translateX(0);
    }

    10%,
    30%,
    50%,
    70%,
    90% {
        transform: translateX(-5px);
    }

    20%,
    40%,
    60%,
    80% {
        transform: translateX(5px);
    }
}

.login-container {
    animation: fadeIn 0.6s ease-out;
}

/* Estados de foco para acessibilidade */
.theme-toggle:focus,
.continue-btn:focus,
.social-btn:focus,
.input-field:focus {
    outline: 2px solid #007bff;
    outline-offset: 2px;
}

[data-theme="dark"] .theme-toggle:focus,
[data-theme="dark"] .continue-btn:focus,
[data-theme="dark"] .social-btn:focus,
[data-theme="dark"] .input-field:focus {
    outline-color: #66b3ff;
}

/* Estilos para seções de redes sociais */
.social-media-section {
    margin-bottom: 2rem;
    padding: 1.5rem;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #f9fafb;
    transition: all 0.3s ease;
}

[data-theme="dark"] .social-media-section {
    background: #1f2937;
    border-color: #374151;
}

.social-media-section:hover {
    border-color: #6366f1;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.social-media-section .checkbox-label {
    margin-bottom: 1rem;
    font-weight: 600;
    font-size: 1.1rem;
    color: #374151;
}

[data-theme="dark"] .social-media-section .checkbox-label {
    color: #f3f4f6;
}

.social-profile-fields {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e5e7eb;
}

[data-theme="dark"] .social-profile-fields {
    border-top-color: #374151;
}

.social-profile-fields .form-group {
    margin-bottom: 1rem;
}

.social-profile-fields .form-row {
    margin-bottom: 1rem;
}