/* ===== CUSTOM STYLES FOR SATÉLITE NORTE - PREMIUM VERSION ===== */

/* Font Family */
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-feature-settings: 'cv02', 'cv03', 'cv04', 'cv11';
}

/* Custom Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOutRight {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(100%);
    }
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(59, 130, 246, 0.6);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Login Page Animations */
.login-page {
    animation: fadeInUp 0.8s ease-out;
}

.login-card {
    animation: fadeInUp 1s ease-out;
}

.logo-container {
    animation: fadeInDown 0.6s ease-out;
}

/* Logo Enhancements */
.logo-premium {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
    transition: all 0.3s ease;
    max-width: 200px;
    height: auto;
}

.logo-premium:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 30px rgba(255, 255, 255, 0.3));
}

/* Logo sem fundo - mantém proporção original */
.logo-clean {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3)) drop-shadow(0 0 10px rgba(255, 255, 255, 0.1));
    transition: all 0.3s ease;
    max-width: 200px;
    height: auto;
    object-fit: contain;
}

.logo-clean:hover {
    transform: scale(1.05);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4)) drop-shadow(0 0 20px rgba(255, 255, 255, 0.2));
}

/* Custom Button Hover Effects */
.btn-premium {
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-premium::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;
}

.btn-premium:hover::before {
    left: 100%;
}

.btn-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

/* Custom Input Focus Effects */
.input-premium {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.input-premium:focus {
    transform: scale(1.02);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 10px 25px rgba(0, 0, 0, 0.1);
}

.input-premium:valid {
    border-color: #10b981;
    background-color: #f0fdf4;
}

.input-premium:invalid:not(:placeholder-shown) {
    border-color: #ef4444;
    background-color: #fef2f2;
}

/* Custom Card Hover Effects */
.card-premium {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.card-premium:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom Gradient Backgrounds */
.bg-gradient-premium {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 50%, #8b5cf6 100%);
}

.bg-gradient-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Custom Shadows */
.shadow-premium {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.shadow-premium-lg {
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

.shadow-glow {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

/* Custom Border Radius */
.rounded-premium {
    border-radius: 1.5rem;
}

.rounded-premium-lg {
    border-radius: 2rem;
}

/* Custom Spacing */
.space-premium {
    margin-top: 3rem;
    margin-bottom: 3rem;
}

/* Custom Text Colors */
.text-premium {
    color: #1e40af;
}

.text-premium-light {
    color: #3b82f6;
}

/* Custom Background Colors */
.bg-premium-50 {
    background-color: #eff6ff;
}

.bg-premium-100 {
    background-color: #dbeafe;
}

/* Custom Loading Spinner */
.spinner-premium {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Custom Toast Notifications */
.toast-premium {
    animation: slideInRight 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
}

.toast-premium.toast-success {
    border-left: 4px solid #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.toast-premium.toast-error {
    border-left: 4px solid #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.toast-premium.toast-warning {
    border-left: 4px solid #f59e0b;
    background: rgba(245, 158, 11, 0.1);
}

.toast-premium.toast-info {
    border-left: 4px solid #3b82f6;
    background: rgba(59, 130, 246, 0.1);
}

/* Custom Form Validation */
.form-error-premium {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.1);
    animation: shake 0.5s ease-in-out;
}

.form-success-premium {
    border-color: #10b981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.1);
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

/* Custom Responsive Design */
@media (max-width: 640px) {
    .mobile-premium {
        padding: 1.5rem;
    }
    
    .mobile-text-premium {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    .mobile-hidden-premium {
        display: none;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f5f9;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #3b82f6, #1d4ed8);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #2563eb, #1e40af);
}

/* Custom Focus States */
.focus-ring-premium {
    outline: none;
    ring: 4px;
    ring-color: rgba(59, 130, 246, 0.2);
    ring-offset: 2px;
}

/* Custom Transitions */
.transition-premium {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.transition-fast-premium {
    transition: all 0.2s ease-in-out;
}

.transition-slow-premium {
    transition: all 0.6s ease-in-out;
}

/* Custom Utilities */
.text-shadow-premium {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.backdrop-blur-premium {
    backdrop-filter: blur(20px);
}

/* Custom Logo Effects */
.logo-glow-premium {
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.4)) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
}

/* Custom Button States */
.btn-loading-premium {
    position: relative;
    color: transparent;
}

.btn-loading-premium::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 3px solid transparent;
    border-top-color: currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Custom Card Styles */
.card-glass-premium {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* Custom Input Styles */
.input-glass-premium {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.input-glass-premium:focus {
    background: rgba(255, 255, 255, 1);
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1), 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* Floating Animation */
.float-premium {
    animation: float 6s ease-in-out infinite;
}

/* Glow Effect */
.glow-premium {
    animation: glow 2s ease-in-out infinite alternate;
}

/* Shimmer Effect */
.shimmer-premium {
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    background-size: 200% 100%;
    animation: shimmer 2s infinite;
}

/* Custom Gradient Text */
.gradient-text-premium {
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Border Gradient */
.border-gradient-premium {
    border: 2px solid;
    border-image: linear-gradient(135deg, #3b82f6, #8b5cf6) 1;
}

/* Custom Glass Morphism */
.glass-premium {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

/* Custom Neumorphism */
.neumorphism-premium {
    background: #e0e5ec;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff;
}

/* Custom 3D Effects */
.transform-3d-premium {
    transform-style: preserve-3d;
    perspective: 1000px;
}

.rotate-3d-premium:hover {
    transform: rotateY(10deg) rotateX(5deg);
}

/* Custom Particle Background */
.particle-bg {
    position: relative;
    overflow: hidden;
}

.particle-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(139, 92, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(6, 182, 212, 0.1) 0%, transparent 50%);
    animation: float 20s ease-in-out infinite;
}

/* Dashboard Specific Styles */
.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 35px 60px -12px rgba(0, 0, 0, 0.3);
}

.dashboard-navbar {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.37);
}

.dashboard-info-card {
    position: relative;
    overflow: hidden;
}

.dashboard-info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(139, 92, 246, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.dashboard-info-card:hover::before {
    opacity: 1;
}

.dashboard-action-button {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.dashboard-action-button::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;
}

.dashboard-action-button:hover::before {
    left: 100%;
}

.dashboard-action-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Status Indicators */
.status-online {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.3);
}

.status-offline {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.3);
}

.status-warning {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.3);
}

/* Custom Scrollbar for Dashboard */
.dashboard-scrollbar::-webkit-scrollbar {
    width: 6px;
}

.dashboard-scrollbar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.dashboard-scrollbar::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, rgba(59, 130, 246, 0.8), rgba(139, 92, 246, 0.8));
    border-radius: 3px;
}

.dashboard-scrollbar::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, rgba(59, 130, 246, 1), rgba(139, 92, 246, 1));
}

/* Floating Animation for Cards */
.float-card {
    animation: float 6s ease-in-out infinite;
}

.float-card:nth-child(2) {
    animation-delay: 1s;
}

.float-card:nth-child(3) {
    animation-delay: 2s;
}

.float-card:nth-child(4) {
    animation-delay: 3s;
}

/* Gradient Text for Headers */
.gradient-text-dashboard {
    background: linear-gradient(135deg, #1e40af, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Custom Button Gradients */
.btn-gradient-blue {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-gradient-blue:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-gradient-green {
    background: linear-gradient(135deg, #10b981, #059669);
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}

.btn-gradient-green:hover {
    background: linear-gradient(135deg, #059669, #047857);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.6);
}

.btn-gradient-purple {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
    box-shadow: 0 4px 15px rgba(139, 92, 246, 0.4);
}

.btn-gradient-purple:hover {
    background: linear-gradient(135deg, #7c3aed, #6d28d9);
    box-shadow: 0 6px 20px rgba(139, 92, 246, 0.6);
}

/* Custom Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Custom Hover Effects */
.hover-lift {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.hover-glow {
    transition: all 0.3s ease;
}

.hover-glow:hover {
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

/* Custom Border Animations */
.border-animate {
    position: relative;
    overflow: hidden;
}

.border-animate::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3b82f6, transparent);
    transition: left 0.5s;
}

.border-animate:hover::before {
    left: 100%;
}

/* Custom Icon Animations */
.icon-bounce {
    transition: transform 0.3s ease;
}

.icon-bounce:hover {
    transform: scale(1.2) rotate(5deg);
}

.icon-spin {
    transition: transform 0.3s ease;
}

.icon-spin:hover {
    transform: rotate(180deg);
}

/* Custom Text Animations */
.text-fade-in {
    animation: fadeInUp 0.6s ease-out;
}

.text-slide-in {
    animation: slideInRight 0.8s ease-out;
}

/* Custom Card Stack Effect */
.card-stack {
    position: relative;
}

.card-stack::before {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: -4px;
    bottom: -4px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: inherit;
    z-index: -1;
}

.card-stack::after {
    content: '';
    position: absolute;
    top: 8px;
    left: 8px;
    right: -8px;
    bottom: -8px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: inherit;
    z-index: -2;
}