/* Estilos do Tour de Treinamento */
.tour-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9998;
    display: none;
}

.tour-highlight {
    position: relative;
    z-index: 9999;
    box-shadow: 0 0 0 4px #007bff, 0 0 20px rgba(0, 123, 255, 0.5);
    border-radius: 8px;
    animation: tourPulse 2s infinite;
}

@keyframes tourPulse {
    0% { box-shadow: 0 0 0 4px #007bff, 0 0 20px rgba(0, 123, 255, 0.5); }
    50% { box-shadow: 0 0 0 6px #007bff, 0 0 30px rgba(0, 123, 255, 0.7); }
    100% { box-shadow: 0 0 0 4px #007bff, 0 0 20px rgba(0, 123, 255, 0.5); }
}

.tour-tooltip {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    z-index: 10000;
    font-family: 'Roboto', sans-serif;
    border: 2px solid #007bff;
}

.tour-tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.tour-tooltip.top::before {
    border-bottom-color: #007bff;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.tour-tooltip.bottom::before {
    border-top-color: #007bff;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.tour-tooltip.left::before {
    border-right-color: #007bff;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.tour-tooltip.right::before {
    border-left-color: #007bff;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.tour-title {
    font-size: 18px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tour-title i {
    margin-right: 8px;
    font-size: 20px;
}

.tour-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.tour-progress {
    background: #f8f9fa;
    border-radius: 10px;
    height: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.tour-progress-bar {
    background: linear-gradient(90deg, #007bff, #0056b3);
    height: 100%;
    transition: width 0.3s ease;
}

.tour-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.tour-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-btn-primary {
    background: #007bff;
    color: white;
}

.tour-btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.tour-btn-secondary {
    background: #6c757d;
    color: white;
}

.tour-btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}

.tour-btn-skip {
    background: transparent;
    color: #6c757d;
    border: 1px solid #6c757d;
}

.tour-btn-skip:hover {
    background: #6c757d;
    color: white;
}

.tour-welcome {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    z-index: 10001;
    text-align: center;
    max-width: 500px;
}

.tour-welcome h2 {
    color: #007bff;
    margin-bottom: 20px;
    font-size: 28px;
}

.tour-welcome p {
    color: #555;
    margin-bottom: 15px;
    line-height: 1.6;
}

.tour-welcome .tour-buttons {
    margin-top: 30px;
}

         /* Estilos para o tour de treinamento */
 .btn-tour {
     background: linear-gradient(135deg, #007bff, #0056b3);
     color: white;
     border: none;
     padding: 12px 24px;
     border-radius: 25px;
     font-weight: 600;
     transition: all 0.3s ease;
     box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
 }
 
 .btn-tour:hover {
     transform: translateY(-2px);
     box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
     background: linear-gradient(135deg, #0056b3, #004085);
 }
 
 /* Botão flutuante do tour */
 .btn-tour-flutuante {
     position: fixed;
     bottom: 30px;
     right: 30px;
     width: 60px;
     height: 60px;
     border-radius: 50%;
     background: linear-gradient(135deg, #007bff, #0056b3);
     color: white;
     border: none;
     font-size: 24px;
     box-shadow: 0 4px 20px rgba(0, 123, 255, 0.4);
     transition: all 0.3s ease;
     z-index: 1000;
     display: flex;
     align-items: center;
     justify-content: center;
 }
 
 .btn-tour-flutuante:hover {
     transform: translateY(-3px) scale(1.1);
     box-shadow: 0 6px 25px rgba(0, 123, 255, 0.6);
     background: linear-gradient(135deg, #0056b3, #004085);
 }
 
 .btn-tour-flutuante:active {
     transform: translateY(-1px) scale(1.05);
 }

/* Estilos básicos do tour */
.tour-highlight {
    position: relative;
    z-index: 9999;
    box-shadow: 0 0 0 4px #007bff, 0 0 20px rgba(0, 123, 255, 0.5);
    border-radius: 8px;
    animation: tourPulse 2s infinite;
}

@keyframes tourPulse {
    0% { box-shadow: 0 0 0 4px #007bff, 0 0 20px rgba(0, 123, 255, 0.5); }
    50% { box-shadow: 0 0 0 6px #007bff, 0 0 30px rgba(0, 123, 255, 0.7); }
    100% { box-shadow: 0 0 0 4px #007bff, 0 0 20px rgba(0, 123, 255, 0.5); }
}

.tour-tooltip {
    position: absolute;
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    max-width: 350px;
    z-index: 10000;
    font-family: 'Roboto', sans-serif;
    border: 2px solid #007bff;
}

.tour-tooltip::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 10px solid transparent;
}

.tour-tooltip.top::before {
    border-bottom-color: #007bff;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.tour-tooltip.bottom::before {
    border-top-color: #007bff;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
}

.tour-tooltip.left::before {
    border-right-color: #007bff;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.tour-tooltip.right::before {
    border-left-color: #007bff;
    right: -20px;
    top: 50%;
    transform: translateY(-50%);
}

.tour-title {
    font-size: 18px;
    font-weight: 600;
    color: #007bff;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.tour-title i {
    margin-right: 8px;
    font-size: 20px;
}

.tour-description {
    color: #555;
    line-height: 1.5;
    margin-bottom: 15px;
}

.tour-progress {
    background: #f8f9fa;
    border-radius: 10px;
    height: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

.tour-progress-bar {
    background: linear-gradient(90deg, #007bff, #0056b3);
    height: 100%;
    transition: width 0.3s ease;
}

.tour-buttons {
    display: flex;
    gap: 10px;
    justify-content: space-between;
}

.tour-btn {
    padding: 10px 20px;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tour-btn-primary {
    background: #007bff;
    color: white;
}

.tour-btn-primary:hover {
    background: #0056b3;
    transform: translateY(-2px);
}

.tour-btn-secondary {
    background: #6c757d;
    color: white;
}

.tour-btn-secondary:hover {
    background: #545b62;
    transform: translateY(-2px);
}
.select2-container--bootstrap4 .select2-selection--single {
height: 45px;
font-size: 14px;
border-radius: 6px;
border-color: #e1e5e9;
box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

/* Estilos modernos e compactos para o formulário */
.cadastro-header {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
color: white;
padding: 25px;
border-radius: 12px;
margin-bottom: 25px;
box-shadow: 0 8px 25px rgba(79, 70, 229, 0.25);
text-align: center;
position: relative;
overflow: hidden;
}

.cadastro-header::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="0.5" fill="white" opacity="0.1"/><circle cx="75" cy="75" r="0.5" fill="white" opacity="0.1"/><circle cx="50" cy="10" r="0.3" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
opacity: 0.2;
}

.cadastro-header h2 {
font-size: 1.8rem;
font-weight: 700;
margin-bottom: 8px;
text-shadow: 0 2px 4px rgba(0,0,0,0.2);
position: relative;
z-index: 2;
}

.cadastro-header p {
font-size: 0.95rem;
opacity: 0.9;
margin: 0;
position: relative;
z-index: 2;
font-weight: 400;
}

.form-section {
background: #ffffff;
padding: 20px;
border-radius: 10px;
margin-bottom: 20px;
box-shadow: 0 2px 12px rgba(0,0,0,0.06);
border: 1px solid #f1f5f9;
position: relative;
overflow: hidden;
transition: all 0.2s ease;
}

.form-section::before {
content: '';
position: absolute;
top: 0;
left: 0;
width: 3px;
height: 100%;
background: linear-gradient(180deg, #4f46e5 0%, #7c3aed 100%);
border-radius: 0 2px 2px 0;
}

.form-section:hover {
transform: translateY(-2px);
box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.form-section h4 {
color: #1e293b;
font-weight: 600;
margin-bottom: 18px;
padding-bottom: 10px;
border-bottom: 1px solid #e2e8f0;
font-size: 1rem;
display: flex;
align-items: center;
}

.form-section h4 i {
margin-right: 8px;
color: #4f46e5;
font-size: 1.1rem;
}

.form-group {
margin-bottom: 18px;
position: relative;
}

.form-label {
font-weight: 500;
color: #374151;
margin-bottom: 6px;
display: block;
font-size: 0.85rem;
text-transform: none;
letter-spacing: 0.2px;
}

.form-control {
border-radius: 8px;
border: 1.5px solid #d1d5db;
padding: 10px 14px;
font-size: 0.9rem;
transition: all 0.2s ease;
background: #ffffff;
box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}

.form-control:focus {
border-color: #4f46e5;
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
transform: none;
background: #ffffff;
}

.form-control.is-valid {
border-color: #10b981;
box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-control.is-invalid {
border-color: #ef4444;
box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.btn-cadastrar {
background: linear-gradient(135deg, #10b981 0%, #059669 100%);
border: none;
color: white;
padding: 12px 28px;
font-size: 0.9rem;
font-weight: 600;
border-radius: 8px;
transition: all 0.2s ease;
box-shadow: 0 4px 15px rgba(16, 185, 129, 0.25);
text-transform: none;
letter-spacing: 0.3px;
position: relative;
overflow: hidden;
}

.btn-cadastrar::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
transition: left 0.4s;
}

.btn-cadastrar:hover::before {
left: 100%;
}

.btn-cadastrar:hover {
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(16, 185, 129, 0.35);
background: linear-gradient(135deg, #059669 0%, #047857 100%);
}

.btn-limpar {
background: linear-gradient(135deg, #6b7280 0%, #4b5563 100%);
border: none;
color: white;
padding: 12px 28px;
font-size: 0.9rem;
font-weight: 600;
border-radius: 8px;
transition: all 0.2s ease;
margin-left: 12px;
text-transform: none;
letter-spacing: 0.3px;
box-shadow: 0 4px 15px rgba(107, 114, 128, 0.25);
}

.btn-limpar:hover {
transform: translateY(-1px);
box-shadow: 0 6px 20px rgba(107, 114, 128, 0.35);
background: linear-gradient(135deg, #4b5563 0%, #374151 100%);
}

.required-field::after {
content: " *";
color: #ef4444;
font-weight: bold;
font-size: 1rem;
}

.help-text {
font-size: 0.75rem;
color: #6b7280;
margin-top: 4px;
font-style: normal;
opacity: 0.8;
}

.upload-area {
border: 2px dashed #d1d5db;
border-radius: 8px;
padding: 30px;
text-align: center;
transition: all 0.3s ease;
cursor: pointer;
background: #f9fafb;
position: relative;
overflow: hidden;
min-height: 150px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
user-select: none;
/* Garantir que toda a área seja clicável */
pointer-events: auto;
/* Forçar z-index para garantir que seja clicável */
z-index: 10;
/* Garantir que o input file esteja acessível */
position: relative;
}

.upload-area::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(45deg, transparent 30%, rgba(79, 70, 229, 0.03) 50%, transparent 70%);
transform: translateX(-100%);
transition: transform 0.4s ease;
}

.upload-area:hover::before {
transform: translateX(100%);
}

.upload-area:hover {
border-color: #3b82f6;
background: #eff6ff;
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.upload-area:hover .upload-icon {
color: #3b82f6;
transform: scale(1.1);
}

.upload-area:hover p {
color: #1e40af;
font-weight: 600;
}

/* Indicador visual de que é clicável */
.upload-area::before {
content: '👆 Clique aqui';
position: absolute;
top: 10px;
right: 10px;
background: rgba(59, 130, 246, 0.9);
color: white;
padding: 4px 8px;
border-radius: 12px;
font-size: 0.7rem;
font-weight: 600;
opacity: 0;
transition: opacity 0.3s ease;
pointer-events: none;
}

.upload-area:hover::before {
opacity: 1;
}

.upload-area.dragover {
border-color: #10b981;
background: #ecfdf5;
transform: scale(1.01);
box-shadow: 0 6px 20px rgba(16, 185, 129, 0.15);
}

.upload-area.upload-success {
border-color: #10b981;
background: #f0fdf4;
box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.upload-area.upload-success .upload-icon {
color: #10b981;
transform: scale(1.1);
}

.upload-area.upload-error {
border-color: #ef4444;
background: #fef2f2;
box-shadow: 0 4px 15px rgba(239, 68, 68, 0.15);
}

.upload-area.upload-error .upload-icon {
color: #ef4444;
}

/* Botão de remover arquivo */
.remove-file {
position: absolute;
top: 5px;
right: 5px;
width: 24px;
height: 24px;
border-radius: 50%;
border: 1px solid #ef4444;
background: white;
color: #ef4444;
font-size: 12px;
display: flex;
align-items: center;
justify-content: center;
cursor: pointer;
transition: all 0.2s ease;
z-index: 10;
}

.remove-file:hover {
background: #ef4444;
color: white;
transform: scale(1.1);
}

.remove-file:active {
transform: scale(0.95);
}

.upload-icon {
font-size: 3rem;
color: #9ca3af;
margin-bottom: 15px;
transition: all 0.3s ease;
position: relative;
}

.upload-icon::after {
content: '📁';
position: absolute;
top: -5px;
right: -15px;
font-size: 1rem;
opacity: 0.7;
animation: pulse 2s infinite;
}

@keyframes pulse {
0%, 100% { opacity: 0.7; transform: scale(1); }
50% { opacity: 1; transform: scale(1.1); }
}

.upload-area:hover .upload-icon {
color: #3b82f6;
transform: scale(1.1);
}

.upload-area p {
font-size: 0.9rem;
color: #374151;
margin-bottom: 6px;
font-weight: 500;
}

.upload-area small {
color: #6b7280;
font-size: 0.75rem;
}

/* Animações suaves */
.form-section {
animation: fadeInUp 0.4s ease-out;
}

@keyframes fadeInUp {
from {
    opacity: 0;
    transform: translateY(15px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Estilos para campos especiais */
select.form-control {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
background-position: right 10px center;
background-repeat: no-repeat;
background-size: 14px;
padding-right: 35px;
appearance: none;
}

textarea.form-control {
resize: vertical;
min-height: 80px;
}

/* Estilos para validação */
.mensagem-campo {
margin-top: 4px;
font-size: 0.75rem;
font-weight: 500;
animation: slideIn 0.2s ease-out;
}

@keyframes slideIn {
from {
    opacity: 0;
    transform: translateY(-5px);
}
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Barra de progresso compacta */
.form-progress {
background: #e5e7eb;
border-radius: 8px;
height: 12px;
margin: 20px 0;
overflow: hidden;
border: 2px solid #d1d5db;
box-shadow: inset 0 2px 4px rgba(0,0,0,0.1);
position: relative;
}

.form-progress-bar {
background: linear-gradient(90deg, #4f46e5, #10b981);
height: 100%;
border-radius: 6px;
transition: all 0.5s ease;
position: relative;
min-width: 0%;
width: 0%;
box-shadow: 0 0 8px rgba(79, 70, 229, 0.3);
}

.form-progress-bar.completo {
background: linear-gradient(90deg, #10b981, #059669);
box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
animation: pulse 2s infinite;
}

.form-progress-bar::after {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
animation: shimmer 2s infinite;
}

@keyframes pulse {
0%, 100% { opacity: 1; }
50% { opacity: 0.8; }
}

/* Classe para transição suave */
.progresso-atualizado {
transform: scale(1.02);
transition: transform 0.3s ease;
}

@keyframes shimmer {
0% { transform: translateX(-100%); }
100% { transform: translateX(100%); }
}

/* Efeitos de hover sutis */
.form-section:hover::before {
width: 4px;
background: linear-gradient(180deg, #4f46e5 0%, #10b981 50%, #f59e0b 100%);
}

/* Estilos para campos de data */
input[type="date"].form-control {
position: relative;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator {
background: transparent;
bottom: 0;
color: transparent;
cursor: pointer;
height: auto;
left: 0;
position: absolute;
right: 0;
top: 0;
width: auto;
}

/* Melhorias nos selects */
select.form-control:focus {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%234f46e5' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
}

/* Animações para botões */
.btn-cadastrar, .btn-limpar {
position: relative;
overflow: hidden;
}

.btn-cadastrar::after, .btn-limpar::after {
content: '';
position: absolute;
top: 50%;
left: 50%;
width: 0;
height: 0;
background: rgba(255,255,255,0.2);
border-radius: 50%;
transform: translate(-50%, -50%);
transition: width 0.3s, height 0.3s;
}

.btn-cadastrar:active::after, .btn-limpar:active::after {
width: 200px;
height: 200px;
}

/* Responsividade compacta */
@media (max-width: 768px) {
.cadastro-header h2 {
    font-size: 1.5rem;
}

.form-section {
    padding: 16px;
    margin-bottom: 16px;
}

.btn-cadastrar, .btn-limpar {
    width: 100%;
    margin: 6px 0;
    padding: 10px 24px;
}

.upload-area {
    padding: 16px;
}

.upload-icon {
    font-size: 2rem;
}
}

@media (max-width: 576px) {
.cadastro-header {
    padding: 20px 16px;
    margin-bottom: 20px;
}

.cadastro-header h2 {
    font-size: 1.3rem;
}

.form-section {
    padding: 14px;
}

.form-control {
    padding: 8px 12px;
}
}

/* Efeitos especiais para campos focados */
.form-control:focus + .form-label {
color: #4f46e5;
transform: none;
}

/* Estilo para campos com sucesso */
.form-control.is-valid {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3e%3cpath fill='%2310b981' d='m2.3 6.73.94-.94 2.89 2.89 2.89-2.89.94.94L6.12 9.5z'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right calc(0.375em + 0.1875rem) center;
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
padding-right: calc(0.75em + 0.375rem);
}

/* Estilo para campos com erro */
.form-control.is-invalid {
background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12' width='12' height='12' fill='none' stroke='%23ef4444'%3e%3ccircle cx='6' cy='6' r='4.5'/%3e%3cpath d='m5.8 4.6 1.4 1.4M7.2 4.6l-1.4 1.4'/%3e%3c/svg%3e");
background-repeat: no-repeat;
background-position: right calc(0.375em + 0.1875rem) center;
background-size: calc(0.75em + 0.375rem) calc(0.75em + 0.375rem);
padding-right: calc(0.75em + 0.375rem);
}

/* Estilos para o tour de treinamento */
.btn-tour {
transition: all 0.2s ease;
border: 1.5px solid rgba(255,255,255,0.8);
font-weight: 500;
text-transform: none;
letter-spacing: 0.2px;
font-size: 0.8rem;
padding: 6px 16px;
border-radius: 6px;
}

.btn-tour:hover {
background: rgba(255,255,255,0.15);
border-color: white;
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(255,255,255,0.2);
}

/* Estilos para o tour Shepherd */
.shepherd-theme-dark {
background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
color: white;
border-radius: 10px;
box-shadow: 0 15px 35px rgba(0,0,0,0.25);
border: none;
}

.shepherd-theme-dark .shepherd-header {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
border-radius: 10px 10px 0 0;
padding: 16px;
}

.shepherd-theme-dark .shepherd-title {
font-size: 1.1rem;
font-weight: 600;
color: white;
}

.shepherd-theme-dark .shepherd-text {
padding: 18px;
font-size: 0.9rem;
line-height: 1.5;
}

.shepherd-theme-dark .shepherd-footer {
padding: 16px;
border-radius: 0 0 10px 10px;
}

.shepherd-theme-dark .shepherd-button {
background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
border: none;
color: white;
padding: 8px 18px;
border-radius: 6px;
font-weight: 500;
transition: all 0.2s ease;
margin: 0 4px;
font-size: 0.85rem;
}

.shepherd-theme-dark .shepherd-button:hover {
background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
transform: translateY(-1px);
box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
}

.shepherd-theme-dark .shepherd-button:disabled {
background: #6b7280;
cursor: not-allowed;
transform: none;
box-shadow: none;
}

/* Destaque para elementos do tour */
.tour-highlight {
box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.4);
border-radius: 6px;
animation: pulse 1.5s infinite;
}

@keyframes pulse {
0% { box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.4); }
50% { box-shadow: 0 0 0 6px rgba(79, 70, 229, 0.1); }
100% { box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.4); }
}

/* Melhorias na barra de progresso */
.form-progress.completo .form-progress-bar {
background: linear-gradient(90deg, #10b981, #059669);
animation: successPulse 1s ease-in-out;
}

@keyframes successPulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.02); }
}

/* Efeitos de loading */
.loading {
position: relative;
overflow: hidden;
}

.loading::after {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
animation: loading 1s infinite;
}

@keyframes loading {
0% { left: -100%; }
100% { left: 100%; }
}

/* Preview de imagem dentro da área de upload */
.upload-area { position: relative; overflow: hidden; }

    .upload-area .img-preview{
    display: none;
    max-width: 100%;
    max-height: 220px;
    border-radius: 8px;
    object-fit: cover;
    margin-top: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    position: relative;
    z-index: 5;
}

    .upload-area.has-image .upload-icon,
.upload-area.has-image p,
.upload-area.has-image small{ 
    display: none !important; 
}

.upload-area {
    border: 2px dashed #d1d5db;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    background: #f9fafb;
    position: relative;
    overflow: hidden;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    user-select: none;
    pointer-events: auto;
    z-index: 10;
    position: relative;
    margin: 20px;
}

.upload-area:hover {
    border-color: #3b82f6;
    background: #eff6ff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.15);
}

.upload-icon {
    font-size: 3rem;
    color: #9ca3af;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.upload-area:hover .upload-icon {
    color: #3b82f6;
    transform: scale(1.1);
}

.upload-area p {
    font-size: 0.9rem;
    color: #374151;
    margin-bottom: 6px;
    font-weight: 500;
}

.upload-area small {
    color: #6b7280;
    font-size: 0.75rem;
}

.upload-area .img-preview {
    display: none;
    max-width: 100%;
    max-height: 220px;
    border-radius: 8px;
    object-fit: cover;
    margin-top: 10px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

.upload-area.has-image .upload-icon,
.upload-area.has-image p,
.upload-area.has-image small {
    display: none;
}

.remove-file {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    border: 1px solid #ef4444;
    background: white;
    color: #ef4444;
    font-size: 12px;
    display: none;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
    z-index: 10;
}

.remove-file:hover {
    background: #ef4444;
    color: white;
    transform: scale(1.1);
}

.upload-area.upload-success {
    border-color: #10b981;
    background: #f0fdf4;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.15);
}

.upload-area.upload-success .upload-icon {
    color: #10b981;
    transform: scale(1.1);
}
.form-progress {
    background: #e5e7eb;
    border-radius: 6px;
    height: 8px;
    margin: 20px 0;
    overflow: hidden;
    border: 1px solid #d1d5db;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.1);
}

.form-progress-bar {
    background: linear-gradient(90deg, #4f46e5, #10b981);
    height: 100%;
    border-radius: 6px;
    transition: width 0.3s ease;
    position: relative;
    min-width: 0%;
    width: 0%;
}

.form-progress-bar.completo {
    background: linear-gradient(90deg, #10b981, #059669);
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
}

.form-group {
    margin-bottom: 20px;
}

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.required-field::after {
    content: " *";
    color: red;
}

.progress-info {
    background: #f0f9ff;
    border: 1px solid #0ea5e9;
    border-radius: 4px;
    padding: 10px;
    margin: 10px 0;
    font-size: 14px;
}