@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
    background: #333;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #444;
}

/* Animations that Tailwind doesn't have by default or are complex */
@keyframes tilt-shaking {
    0% {
        transform: rotate(0deg);
    }

    25% {
        transform: rotate(1deg);
    }

    50% {
        transform: rotate(0deg);
    }

    75% {
        transform: rotate(-1deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.hover-shake:hover {
    animation: tilt-shaking 0.3s infinite;
}

/* Text Selection Color */
::selection {
    background: #0ea5e9;
    color: white;
}

/* Glassmorphism Utilities if needed specifically */
.glass {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Hide scrollbar for Chrome, Safari and Opera */
.scrollbar-hide::-webkit-scrollbar {
    display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.scrollbar-hide {
    -ms-overflow-style: none;
    /* IE and Edge */
    scrollbar-width: none;
    /* Firefox */
}

/* Shepherd.js Dark Theme Customization */
.shepherd-element {
    background: #1a1a1a;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    font-family: 'Inter', sans-serif;
}

.shepherd-header {
    background: transparent;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1.25rem;
}

.shepherd-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
}

.shepherd-text {
    padding: 1.25rem;
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.6;
}

.shepherd-footer {
    padding: 0 1.25rem 1.25rem;
    border-radius: 0 0 12px 12px;
}

.shepherd-button {
    background: #333;
    color: #fff;
    border: none;
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s;
    margin-right: 0.5rem;
}

.shepherd-button:hover {
    background: #444;
}

.shepherd-button-primary {
    background: #0ea5e9;
    /* Our brand color */
    color: #fff;
}

.shepherd-button-primary:hover {
    background: #0284c7;
}

.shepherd-arrow,
.shepherd-arrow:before {
    background: #1a1a1a !important;
}