/* Dark Belt - Custom Styles */

/* Glass Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Tab Buttons */
.tab-btn {
    color: rgba(255, 255, 255, 0.5);
    background: transparent;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.05);
}

.tab-btn.active {
    color: white;
    background: linear-gradient(135deg, rgba(6, 182, 212, 0.2), rgba(147, 51, 234, 0.2));
    box-shadow: 0 0 20px rgba(6, 182, 212, 0.1);
}

/* Drop Zone */
.drop-zone {
    background: rgba(0, 0, 0, 0.2);
}

.drop-zone.dragover {
    border-color: rgba(6, 182, 212, 0.8);
    background: rgba(6, 182, 212, 0.1);
    transform: scale(1.02);
}

.drop-zone.dragover .drop-zone-content {
    opacity: 0.5;
}

/* Spinner */
.spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

/* Gradient Animation */
@keyframes gradient {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Toast Notifications */
.toast {
    animation: slideIn 0.3s ease-out forwards;
}

.toast.hiding {
    animation: slideOut 0.3s ease-in forwards;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

/* Status Steps */
.status-step {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.status-step.active {
    background: rgba(6, 182, 212, 0.1);
    border-left: 3px solid #06b6d4;
}

.status-step.completed {
    background: rgba(34, 197, 94, 0.1);
    border-left: 3px solid #22c55e;
}

.status-step.error {
    background: rgba(239, 68, 68, 0.1);
    border-left: 3px solid #ef4444;
}

.status-step-icon {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.status-step.pending .status-step-icon {
    background: rgba(255, 255, 255, 0.1);
}

.status-step.active .status-step-icon {
    background: rgba(6, 182, 212, 0.2);
}

.status-step.completed .status-step-icon {
    background: rgba(34, 197, 94, 0.2);
}

.status-step.error .status-step-icon {
    background: rgba(239, 68, 68, 0.2);
}

/* Pulse Animation for Active Status */
.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #06b6d4;
    animation: pulse-animation 1.5s ease-in-out infinite;
}

@keyframes pulse-animation {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.2);
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Focus Styles */
*:focus {
    outline: none;
}

*:focus-visible {
    outline: 2px solid rgba(6, 182, 212, 0.5);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: rgba(147, 51, 234, 0.3);
    color: white;
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .tab-btn span {
        flex-direction: column;
        gap: 4px;
    }
    
    .tab-btn svg {
        width: 20px;
        height: 20px;
    }
}
