/* RISE Tools - Post Booking System Styles */
/* Tailwind-compatible custom styles */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

/* Custom Properties */
:root {
    --rise-500: #FF5E0E;
    --rise-600: #ea580c;
    --dark-900: #0B0F14;
    --dark-800: #1F2937;
    --dark-700: #374151;
    --dark-600: #4B5563;
}

/* Base styles */
* {
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--dark-900);
    color: #F3F4F6;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

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

::-webkit-scrollbar-track {
    background: var(--dark-800);
}

::-webkit-scrollbar-thumb {
    background: var(--dark-700);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--dark-600);
}

/* Navigation Sidebar Styles */
.nav-item {
    color: #9CA3AF;
    transition: all 0.2s ease;
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    margin-bottom: 0.25rem;
}

.nav-item:hover {
    color: white;
    background-color: rgba(55, 65, 81, 0.5);
}

.nav-item.active {
    color: white;
    background-color: rgba(55, 65, 81, 0.8);
}

.nav-item.active::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 3px;
    height: 20px;
    background-color: var(--rise-500);
    border-radius: 0 2px 2px 0;
}

.nav-item i {
    transition: all 0.2s ease;
    margin-right: 0.75rem;
}

.nav-item:hover i,
.nav-item.active i {
    color: var(--rise-500);
}

/* Section animations */
.section-content {
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Checkbox styling */
input[type="checkbox"] {
    accent-color: var(--rise-500);
    cursor: pointer;
}

/* Custom checkbox appearance for consistency */
.custom-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid var(--dark-600);
    border-radius: 4px;
    background-color: var(--dark-800);
    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

.custom-checkbox:checked {
    background-color: var(--rise-500);
    border-color: var(--rise-500);
}

.custom-checkbox:checked::after {
    content: '';
    position: absolute;
    left: 5px;
    top: 1px;
    width: 6px;
    height: 12px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Calendar options */
.calendar-option {
    transition: all 0.2s ease;
    cursor: pointer;
}

.calendar-option:hover:not(.bg-rise-500) {
    border-color: var(--rise-500);
    color: white;
}

/* Component cards hover effect */
.component-card {
    transition: all 0.2s ease;
}

.component-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 94, 14, 0.1);
}

/* Checklist item styling */
.checklist-item {
    transition: all 0.2s ease;
}

.checklist-item:hover {
    border-color: rgba(255, 94, 14, 0.3) !important;
}

.checklist-item input:checked ~ span,
.checklist-item input:checked ~ div {
    text-decoration: line-through;
    opacity: 0.6;
}

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

/* Selection color */
::selection {
    background-color: rgba(255, 94, 14, 0.3);
    color: white;
}

/* Focus states for accessibility */
input:focus,
textarea:focus,
select:focus,
button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(255, 94, 14, 0.5);
}

/* Button press effect */
button:active {
    transform: scale(0.98);
}

/* Ensure sidebar stays fixed */
.fixed {
    position: fixed;
}

/* Timeline connector */
.timeline-connector {
    position: absolute;
    left: 15px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--dark-700);
}

/* Status indicators */
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.complete {
    background-color: #10B981;
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.status-indicator.pending {
    background-color: #F59E0B;
}

/* Implementation step hover */
.implementation-step {
    transition: all 0.2s ease;
}

.implementation-step:hover {
    background-color: rgba(255, 94, 14, 0.05);
}

/* Print styles */
@media print {
    .fixed.left-0 {
        display: none !important;
    }
    
    .ml-64 {
        margin-left: 0 !important;
    }
    
    .no-print {
        display: none !important;
    }
}
/* Mobile responsive */
@media (max-width: 1024px) {
    .fixed.left-0 {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        z-index: 60;
    }
    
    .fixed.left-0.mobile-open {
        transform: translateX(0);
        box-shadow: 4px 0 15px rgba(0,0,0,0.2);
    }
    
    .ml-64 {
        margin-left: 0 !important;
    }

    /* Mobile menu dropdown */
    #mobile-menu {
        max-height: 80vh;
        overflow-y: auto;
    }

    /* Revenue impact text */
    #revenue-impact {
        word-break: break-word;
    }
}
/* Loading animation */
@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

.loading-shimmer {
    background: linear-gradient(90deg, var(--dark-800) 25%, var(--dark-700) 50%, var(--dark-800) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Ensure proper z-index stacking */
.z-50 { z-index: 50; }
.z-40 { z-index: 40; }
.z-10 { z-index: 10; }

/* Gradient text utility */
.gradient-text {
    background: linear-gradient(135deg, #FF5E0E 0%, #fb923c 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}