body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* slate-50 */
    color: #334155; /* slate-700 */
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Timeline central line */
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #e2e8f0; /* slate-200 */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

/* Timeline Item */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: white;
    border: 4px solid #3b82f6; /* Default: blue-500 */
    top: 28px;
    border-radius: 50%;
    z-index: 1;
}

/* Positioning */
.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

/* Arrows */
.timeline-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 34px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.timeline-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 34px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-right::after {
    left: -12px;
}

/* Content Box */
.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #3b82f6; /* Default: blue-500 */
}

.timeline-right .timeline-content {
    box-shadow: -4px -4px 6px -1px rgba(0, 0, 0, 0.1), -4px 2px -4px -1px rgba(0, 0, 0, 0.06);
}

/* Module-specific colors */
.timeline-item.module-stock .timeline-content, .timeline-item.module-stock::after {
    border-color: #22c55e; /* green-500 */
}
.timeline-item.module-voucher .timeline-content, .timeline-item.module-voucher::after {
    border-color: #f97316; /* orange-500 */
}
    .timeline-item.module-report .timeline-content, .timeline-item.module-report::after {
    border-color: #64748b; /* slate-500 */
}

.timeline-item.module-subcontract-sale .timeline-content, .timeline-item.module-subcontract-sale::after,
.text-green-600 {
    border-color: #22c55e; /* green-500 */
}


/* Responsive adjustments */
@media screen and (max-width: 1023px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    .timeline-left::after, .timeline-right::after {
        left: 19px;
    }
    .timeline-right {
        left: 0%;
    }
}

body {
    font-family: 'Inter', sans-serif;
    background-color: #f8fafc; /* slate-50 */
    color: #334155; /* slate-700 */
}

/* Timeline Container */
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
}

/* Timeline central line */
.timeline::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: #e2e8f0; /* slate-200 */
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

/* Timeline Item */
.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
}

/* The circles on the timeline */
.timeline-item::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 24px;
    right: -12px;
    background-color: white;
    border: 4px solid #3b82f6; /* Default: blue-500 */
    top: 28px;
    border-radius: 50%;
    z-index: 1;
}

/* Positioning */
.timeline-left {
    left: 0;
}

.timeline-right {
    left: 50%;
}

/* Arrows */
.timeline-left::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 34px;
    width: 0;
    z-index: 1;
    right: 30px;
    border: medium solid white;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent white;
}

.timeline-right::before {
    content: " ";
    height: 0;
    position: absolute;
    top: 34px;
    width: 0;
    z-index: 1;
    left: 30px;
    border: medium solid white;
    border-width: 10px 10px 10px 0;
    border-color: transparent white transparent transparent;
}

.timeline-right::after {
    left: -12px;
}

/* Content Box */
.timeline-content {
    padding: 20px;
    background-color: white;
    position: relative;
    border-radius: 8px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-left: 4px solid #3b82f6; /* Default: blue-500 */
}

/* Module-specific colors */
.timeline-item.module-stock .timeline-content, .timeline-item.module-stock::after {
    border-color: #22c55e; /* green-500 */
}
.timeline-item.module-voucher .timeline-content, .timeline-item.module-voucher::after {
    border-color: #f97316; /* orange-500 */
}
    .timeline-item.module-report .timeline-content, .timeline-item.module-report::after {
    border-color: #64748b; /* slate-500 */
}

.faq-answer {
    font-size: 15px !important;
    line-height: 1.6em !important;
}

.faq-question {
    font-size: 15px !important;
    line-height: 1.6em !important;
}

#mobile-menu {
    position: absolute;
    background: #fff;
    width: calc(100%);
    left: 0px;
    /* box shadow md */
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    border-radius: 8px;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
}

#mobile-menu a.cta {
    margin-top: 10px !important;
    width: calc(100% - 30px);
    margin: auto;
}

@media(min-width: 600px) {
    .faq-answer {
        font-size: 16px !important;
    }

    .faq-question {
        font-size: 16px !important;
    }
}


/* Responsive adjustments */
@media screen and (max-width: 1023px) {
    .timeline::after {
        left: 31px;
    }
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        padding-bottom: 30px;
    }
    .timeline-item::before {
        left: 60px;
        border: medium solid white;
        border-width: 10px 10px 10px 0;
        border-color: transparent white transparent transparent;
    }
    .timeline-left::after, .timeline-right::after {
        left: 19px;
    }
    .timeline-right {
        left: 0%;
    }
}

@media screen and (max-width: 600px) {
    .timeline-left::before, .timeline-right::after {
        display: none;
    }
    .timeline-item::after {
        display: none;
    }
    .timeline::after {
        left: 5px;
    }
    .timeline-item {
        padding-left: 25px;
        padding-right: 0px;
    }
    .timeline-content p {
        font-size: 15px;
    }
    .timeline-content h3 {
        font-size: 17px;
    }
    .tab-item {
        margin: 0px !important;
    }
}

@media screen and (max-width: 360px) {
    .timeline-content p {
        font-size: 14px;
    }
    .timeline-content h3 {
        font-size: 16px;
    }
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    cursor: pointer;
    /* Background arrow image */
    background-image: url('data:image/svg+xml;utf8,<svg fill="none" stroke="%23475569" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="M6 9l6 6 6-6"/></svg>');
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1rem 1rem;
}
