@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

body {
    font-family: 'Inter', sans-serif;
}

/* Toggles */
.toggle-checkbox:checked {
    right: 0;
    border-color: #3b82f6;
}

    .toggle-checkbox:checked + .toggle-label {
        background-color: #3b82f6;
    }

.toggle-checkbox {
    right: 0;
    z-index: 1;
    border-color: #e2e8f0;
    transition: all 0.3s;
}

.toggle-label {
    width: 2.75rem;
    height: 1.5rem;
    background-color: #4b5563;
    border-radius: 9999px;
    transition: all 0.3s;
}

.toggle-circle {
    width: 1.125rem;
    height: 1.125rem;
    background-color: white;
    border-radius: 50%;
    top: 0.1875rem;
    left: 0.1875rem;
    transition: all 0.3s;
}

.toggle-checkbox:checked ~ .toggle-circle {
    transform: translateX(1.25rem);
}

/* Loader & Animations */
.loader {
    border-top-color: #3b82f6;
    animation: spinner 1s linear infinite;
}

@keyframes spinner {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.fade-in {
    animation: fadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tab-active {
    border-bottom: 2px solid #60a5fa;
    color: #60a5fa;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background: #1f2937;
}

::-webkit-scrollbar-thumb {
    background: #4b5563;
    border-radius: 3px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: #6b7280;
    }

#logs-terminal {
    font-family: 'Courier New', Courier, monospace;
    white-space: pre-wrap;
}
