/* Additional custom styles beyond Tailwind CSS */

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: #3d3d3d;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #4a4a4a;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
:focus {
    outline: 2px solid #0ea5e9;
    outline-offset: 2px;
}

/* Additional animations */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Custom selection color */
::selection {
    background-color: #0ea5e9;
    color: white;
}

/* Time card hover effect */
.time-card {
    transform: translateY(0);
    transition: transform 0.2s ease-in-out;
}

.time-card:hover {
    transform: translateY(-4px);
}

/* Ensure buttons have pointer cursor */
button, 
[role="button"], 
.btn {
    cursor: pointer;
}

/* Custom form input focus effect */
.form-input:focus {
    box-shadow: 0 0 0 3px rgba(14, 165, 233, 0.3);
}

/* Footer link style */
.footer-link {
    position: relative;
    padding-bottom: 2px;
}

.footer-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: 0;
    left: 0;
    background-color: #0ea5e9;
    transition: width 0.3s ease;
}

.footer-link:hover::after {
    width: 100%;
}

/* Mobile menu animation */
.mobile-menu-enter {
    opacity: 0;
    transform: scale(0.95);
}

.mobile-menu-enter-active {
    opacity: 1;
    transform: scale(1);
    transition: opacity 200ms ease-out, transform 200ms ease-out;
}

.mobile-menu-exit {
    opacity: 1;
    transform: scale(1);
}

.mobile-menu-exit-active {
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 150ms ease-in, transform 150ms ease-in;
}
