@import url('https://cdn.jsdelivr.net/gh/orioncactus/pretendard/dist/web/static/pretendard.css');

body {
    font-family: 'Pretendard', sans-serif;
    background-color: #020617; /* Deep charcoal */
}

/* Custom Scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #0f172a; }
::-webkit-scrollbar-thumb { background: #1e293b; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #334155; }

/* Remove Number Input Arrows */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
input[type=number] { -moz-appearance: textfield; }

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

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

.glow-effect {
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.5);
}

/* Toast */
#toast {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 0.5s ease-in-out;
}
#toast.show {
    visibility: visible;
    opacity: 1;
}

/* Timeline styles */
.timeline-container {
    position: relative;
}
.timeline-container::before {
    content: '';
    position: absolute;
    left: 1.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #1e293b;
}
@media (min-width: 768px) {
    .timeline-container::before {
        left: 50%;
        transform: translateX(-50%);
    }
}
.timeline-item {
    position: relative;
    margin-bottom: 3rem;
}
.timeline-item:last-child {
    margin-bottom: 0;
}
.timeline-dot {
    position: absolute;
    left: 1.5rem;
    top: 0;
    transform: translate(-50%, 0);
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    background: #020617;
    border: 2px solid #3b82f6;
    z-index: 10;
}
@media (min-width: 768px) {
    .timeline-dot {
        left: 50%;
    }
}
.timeline-content {
    margin-left: 3.5rem;
    padding: 1.5rem;
    background: #0f172a;
    border: 1px solid #1e293b;
    border-radius: 1rem;
    position: relative;
    width: calc(100% - 3.5rem);
}
@media (min-width: 768px) {
    .timeline-content {
        width: calc(50% - 3rem);
        margin-left: 0;
    }
    .timeline-item:nth-child(odd) .timeline-content {
        margin-right: auto;
    }
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: auto;
    }
}
