/* Estilos Globais */
html {
    scroll-behavior: smooth;
}

body {
    background-color: #09090b;
    color: #f4f4f5;
}

/* Scrollbar Customizado */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #09090b;
}

::-webkit-scrollbar-thumb {
    background: #27272a;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #f97316;
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Efeitos de Transição para Cards */
.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(249, 115, 22, 0.1);
}

/* Botões */
button {
    font-family: inherit;
}

button:active {
    transform: scale(0.98);
}

/* Input Focus */
input:focus,
textarea:focus {
    box-shadow: 0 0 0 3px rgba(249, 115, 22, 0.1);
}

/* Modal Animations */
#modalWizard:not(.hidden),
#modalLogin:not(.hidden) {
    animation: fadeIn 0.3s ease;
}

#modalWizard:not(.hidden) > div,
#modalLogin:not(.hidden) > div {
    animation: slideInUp 0.3s ease;
}

/* Badge estilo */
.badge-primary {
    background: rgba(249, 115, 22, 0.1);
    border: 1px solid rgba(249, 115, 22, 0.3);
    color: #f97316;
}

/* Gradient Text */
.gradient-text {
    background: linear-gradient(135deg, #f97316 0%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Efeito Glow */
.glow-primary {
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.3);
}

/* Loading State */
.loading {
    opacity: 0.6;
    pointer-events: none;
}

/* Responsivo - Mobile */
@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }
}

/* Efeito Wave Background */
.wave-background {
    position: relative;
    overflow: hidden;
}

.wave-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(249, 115, 22, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* Breadcrumb Estilo */
.breadcrumb-step {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.breadcrumb-circle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    background-color: #27272a;
    color: #a1a1a1;
}

.breadcrumb-circle.active {
    background-color: #f97316;
    color: white;
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.5);
}

.breadcrumb-circle.completed {
    background-color: #22c55e;
    color: white;
}

/* Input com ícone */
.input-with-addon {
    display: flex;
    align-items: center;
    border: 1px solid #27272a;
    border-radius: 0.875rem;
    overflow: hidden;
    background-color: #09090b;
    transition: border-color 0.3s ease;
}

.input-with-addon:focus-within {
    border-color: #f97316;
}

.input-with-addon input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0.75rem 1rem;
    color: white;
    outline: none;
}

.input-with-addon input::placeholder {
    color: #52525b;
}

.input-with-addon .addon {
    padding: 0 1rem;
    background-color: #121215;
    border-left: 1px solid #27272a;
    color: #a1a1a1;
    font-size: 0.875rem;
    font-weight: 500;
    white-space: nowrap;
}

/* Success Message */
.success-message {
    animation: slideInUp 0.3s ease;
    background: rgba(34, 197, 94, 0.1);
    border: 1px solid rgba(34, 197, 94, 0.3);
    color: #22c55e;
    padding: 1rem;
    border-radius: 0.875rem;
}

/* Error Message */
.error-message {
    animation: slideInUp 0.3s ease;
    background: rgba(239, 68, 68, 0.1);
    border: 1px solid rgba(239, 68, 68, 0.3);
    color: #ef4444;
    padding: 1rem;
    border-radius: 0.875rem;
}

/* Placeholder Loading */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.skeleton {
    background: linear-gradient(90deg, #27272a 25%, #3a3a3f 50%, #27272a 75%);
    background-size: 200% 100%;
    animation: pulse 1.5s infinite;
}

/* Text Selection */
::selection {
    background-color: #f97316;
    color: white;
}

::-moz-selection {
    background-color: #f97316;
    color: white;
}
