/* style.css - Refined UI for interactive journey steps */
body {
    font-family: 'Outfit', sans-serif;
    background-color: #0d1117;
    color: #c9d1d9;
}

.glass-panel {
    background: rgba(22, 27, 34, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(48, 54, 61, 0.8);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.glass-item {
    background: rgba(33, 38, 45, 0.4);
    border: 1px solid rgba(48, 54, 61, 0.5);
    border-radius: 12px;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.order-row:hover {
    background: rgba(33, 38, 45, 0.8);
}

/* Steps Timeline Layout */
.step-dot {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid #30363d;
    background: #161b22;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    position: relative;
    z-index: 2;
}

.step-dot:hover {
    border-color: #58a6ff;
    transform: scale(1.2);
}

.step-dot.active {
    background: #1f6feb;
    border-color: #58a6ff;
    color: white;
    box-shadow: 0 0 10px rgba(88, 166, 255, 0.4);
}

.step-dot.completed {
    background: #238636;
    border-color: #2ea043;
    color: white;
}

.step-line {
    position: absolute;
    top: 50%;
    left: 28px;
    right: -10px;
    height: 2px;
    background: #30363d;
    transform: translateY(-50%);
    z-index: 1;
}

.step-line.completed {
    background: #238636;
}

.step-container {
    position: relative;
    padding-bottom: 24px;
}

.step-label {
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 9px;
    white-space: nowrap;
    color: #8b949e;
    font-weight: 500;
}

.step-dot.active+.step-label {
    color: #58a6ff;
    font-weight: bold;
}

/* Checklist New Style */
.checklist-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.checklist-item:hover {
    background: rgba(255, 255, 255, 0.07);
    transform: translateY(-2px);
}

.checklist-item.done {
    background: rgba(16, 185, 129, 0.1);
    border-color: rgba(16, 185, 129, 0.3);
}

.checklist-item.done-return {
    background: rgba(244, 63, 94, 0.1);
    border-color: rgba(244, 63, 94, 0.3);
}

.checklist-icon {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #64748b;
    transition: all 0.3s ease;
}

.checklist-item.done .checklist-icon {
    background: #10b981;
    color: white;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.checklist-item.done-return .checklist-icon {
    background: #f43f5e;
    color: white;
    box-shadow: 0 4px 12px rgba(244, 63, 94, 0.3);
}

.checklist-label {
    font-size: 13px;
    font-weight: 700;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.checklist-item.done .checklist-label,
.checklist-item.done-return .checklist-label {
    color: white;
}

/* Status Badges */
.badge {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-urgent {
    background: rgba(248, 81, 73, 0.1);
    color: #f85149;
    border: 1px solid rgba(248, 81, 73, 0.2);
}

/* Animation */
@keyframes pulse-custom {
    0% {
        box-shadow: 0 0 0 0 rgba(88, 166, 255, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(88, 166, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(88, 166, 255, 0);
    }
}

.active-pulse {
    animation: pulse-custom 2s infinite;
}

/* Custom Scrollbar */
.custom-scrollbar::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.custom-scrollbar::-webkit-scrollbar-track {
    background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
    background: #30363d;
    border-radius: 10px;
}

/* Fix White Select Error - Forced Solid Colors & Appearance Reset */
select {
    background-color: #1a1f26 !important;
    color: white !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e") !important;
    background-repeat: no-repeat !important;
    background-position: right 1rem center !important;
    background-size: 1em !important;
    padding-right: 2.5rem !important;
}

select option {
    background-color: #1a1f26 !important;
    color: white !important;
}

select:focus {
    background-color: #24292f !important;
    border-color: #3b82f6 !important;
    outline: none !important;
}