/* ===== TEMA HOKKAIDO AUTO - CSS PERSONALIZADO ===== */

/* ===== ANIMAÇÕES GLOBAIS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200px 0;
    }
    100% {
        background-position: calc(200px + 100%) 0;
    }
}

/* ===== CLASSES DE ANIMAÇÃO ===== */
.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

/* ===== EFEITOS DE HOVER AVANÇADOS ===== */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 20px rgba(220, 53, 69, 0.4);
}

.hover-scale {
    transition: all 0.3s ease;
}

.hover-scale:hover {
    transform: scale(1.05);
}

/* ===== BOTÕES AVANÇADOS ===== */
.btn-hokkaido-primary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
    border: none;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    position: relative;
    overflow: hidden;
}

.btn-hokkaido-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-hokkaido-primary:hover::before {
    left: 100%;
}

.btn-hokkaido-primary:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.4);
}

.btn-hokkaido-secondary {
    background: white;
    color: #dc3545;
    border: 2px solid #dc3545;
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.1);
}

.btn-hokkaido-secondary:hover {
    background: #dc3545;
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

/* ===== CARDS AVANÇADOS ===== */
.card-hokkaido {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e0e0e0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
    position: relative;
}

.card-hokkaido::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #dc3545, #c82333, #dc3545);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.card-hokkaido:hover::before {
    transform: scaleX(1);
}

.card-hokkaido:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border-color: #dc3545;
}

/* ===== INPUTS AVANÇADOS ===== */
.input-hokkaido {
    padding: 0.75rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    outline: none;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    position: relative;
}

.input-hokkaido:focus {
    border-color: #dc3545;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.2);
    transform: translateY(-1px);
}

.input-hokkaido:focus + label {
    color: #dc3545;
    transform: translateY(-20px) scale(0.8);
}

/* ===== LOADING SKELETON ===== */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200px 100%;
    animation: shimmer 1.5s infinite;
    border-radius: 8px;
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-text:last-child {
    width: 60%;
}

.skeleton-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

/* ===== NOTIFICAÇÕES AVANÇADAS ===== */
.notification-hokkaido {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    padding: 1.5rem;
    border-left: 4px solid #dc3545;
    transform: translateX(100%);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    max-width: 400px;
}

.notification-hokkaido.show {
    transform: translateX(0);
}

.notification-hokkaido.success {
    border-left-color: #28a745;
}

.notification-hokkaido.warning {
    border-left-color: #ffc107;
}

.notification-hokkaido.error {
    border-left-color: #dc3545;
}

/* ===== PROGRESS BARS ===== */
.progress-hokkaido {
    width: 100%;
    height: 8px;
    background: #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
    position: relative;
}

.progress-hokkaido-bar {
    height: 100%;
    background: linear-gradient(90deg, #dc3545, #c82333);
    border-radius: 4px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-hokkaido-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;
}

/* ===== BADGES ===== */
.badge-hokkaido {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-hokkaido.primary {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: white;
}

.badge-hokkaido.success {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.badge-hokkaido.warning {
    background: linear-gradient(135deg, #ffc107 0%, #fd7e14 100%);
    color: white;
}

.badge-hokkaido.info {
    background: linear-gradient(135deg, #17a2b8 0%, #6f42c1 100%);
    color: white;
}

/* ===== TOOLTIPS ===== */
.tooltip-hokkaido {
    position: relative;
    display: inline-block;
}

.tooltip-hokkaido::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #1a1a1a;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.tooltip-hokkaido::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #1a1a1a;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.tooltip-hokkaido:hover::after,
.tooltip-hokkaido:hover::before {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #c82333 0%, #bd2130 100%);
}

/* ===== SELEÇÃO DE TEXTO ===== */
::selection {
    background: rgba(220, 53, 69, 0.3);
    color: #1a1a1a;
}

::-moz-selection {
    background: rgba(220, 53, 69, 0.3);
    color: #1a1a1a;
}

/* ===== FOCUS VISIBLE ===== */
*:focus-visible {
    outline: 2px solid #dc3545;
    outline-offset: 2px;
}

/* ===== UTILITÁRIOS ===== */
.text-gradient {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.bg-gradient-hokkaido {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

.border-gradient-hokkaido {
    border: 2px solid;
    border-image: linear-gradient(135deg, #dc3545, #c82333) 1;
}

.shadow-hokkaido {
    box-shadow: 0 10px 30px rgba(220, 53, 69, 0.2);
}

.shadow-hokkaido-hover:hover {
    box-shadow: 0 20px 50px rgba(220, 53, 69, 0.3);
}

/* ===== RESPONSIVIDADE ===== */
@media (max-width: 768px) {
    .btn-hokkaido-primary,
    .btn-hokkaido-secondary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .card-hokkaido {
        margin: 0.5rem;
    }
    
    .notification-hokkaido {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* ===== DARK MODE SUPPORT ===== */
@media (prefers-color-scheme: dark) {
    .card-hokkaido {
        background: #2d2d2d;
        color: white;
        border-color: #404040;
    }
    
    .input-hokkaido {
        background: #2d2d2d;
        color: white;
        border-color: #404040;
    }
    
    .skeleton {
        background: linear-gradient(90deg, #404040 25%, #505050 50%, #404040 75%);
    }
}

/* ===== REDUÇÃO DE MOVIMENTO ===== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 