/* Base Styles */
:root {
    --color-brand: #fcae85;
    --transition-speed: 0.2s;
}

body,
html {
    height: 100%;
    margin: 0;
    padding: 0;
}

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

::-webkit-scrollbar-track {
    background: #0f172a;
}

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

::-webkit-scrollbar-thumb:hover {
    background: #475569;
}

/* Glassmorphism Utilities */
.glass {
    background: rgba(30, 41, 59, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.glass-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(148, 163, 184, 0.1);
}

/* Form Elements */
.input-field {
    background-color: #1e293b;
    /* bg-slate-800 */
    border: 1px solid #334155;
    /* border-slate-700 */
    border-radius: 0.5rem;
    /* rounded-lg */
    padding: 0.5rem 1rem;
    /* px-4 py-2 */
    color: #f1f5f9;
    /* text-slate-100 */
    outline: none;
    transition: all 0.2s;
    width: 100%;
}

.input-field:focus {
    box-shadow: 0 0 0 2px #f97316;
    /* ring-orange-500 */
    border-color: transparent;
}

.input-field::placeholder {
    color: #64748b;
    /* placeholder-slate-500 */
}

/* Transitions */
.fade-enter-active,
.fade-leave-active {
    transition: opacity 0.2s ease;
}

.fade-enter-from,
.fade-leave-to {
    opacity: 0;
}

.slide-fade-enter-active {
    transition: all 0.3s ease-out;
}

.slide-fade-leave-active {
    transition: all 0.3s cubic-bezier(1, 0.5, 0.8, 1);
}

.slide-fade-enter-from,
.slide-fade-leave-to {
    transform: translateX(20px);
    opacity: 0;
}

/* Calendar Grid */
.calendar-grid {
    display: grid;
    grid-template-columns: 60px repeat(5, 1fr);
    grid-template-rows: 50px repeat(24, 60px);
    /* Header + 24 hours */
}

/* Toast Animations */
@keyframes slideInRight {
    from {
        transform: translateX(100%);
        opacity: 0;
    }

    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast-enter {
    animation: slideInRight 0.3s ease-out forwards;
}

/* Utility classes not in Tailwind */
.text-xxs {
    font-size: 0.65rem;
    line-height: 1rem;
}