header {
    text-align: center;
}

h3 {
    margin: 20px 0;
}

.repair-card {
    padding: 20px;
    margin-top: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid var(--border-color);
}

.repair-type,
.repair-card-title {
    font-weight: 600;
}

.repair-type:hover {
    cursor: pointer;
}

strong + p {
    margin-top: 0;
    margin-bottom: 20px;
}

.timeline {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    margin: 0;
    padding: 0;
    list-style: none;
    transition: max-height 0.3s ease, opacity 0.24s ease;
    will-change: max-height, opacity;
}

.repair-type {
    display: flex;
    align-items: center;
}

.cost .repair-type {
    margin-bottom: 8px;
}

.repair-type.extend + .timeline {
    opacity: 1;
    max-height: 1000px;
}

.bi-chevron-down {
    height: 17px;
    width: 17px;
    margin-left: 5px;
    transform: translateY(1px);
    transition: transform 0.24s ease;
    will-change: transform;
}

.repair-type.extend .bi-chevron-down {
    transform: rotate(180deg);
}

.timeline .timeline-item {
    min-height: 40px;
    display: flex;
    align-items: center;
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    transform: translate3d(0, -25px, 0);
    will-change: transform, opacity;
}

.repair-type.extend + .timeline .timeline-item {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

.repair-type.extend + .timeline .timeline-item:nth-child(1) {
    transition-delay: 0.1s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(2) {
    transition-delay: 0.2s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(3) {
    transition-delay: 0.3s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(4) {
    transition-delay: 0.4s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(5) {
    transition-delay: 0.5s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(6) {
    transition-delay: 0.6s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(7) {
    transition-delay: 0.7s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(8) {
    transition-delay: 0.8s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(9) {
    transition-delay: 0.9s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(10) {
    transition-delay: 1.0s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(11) {
    transition-delay: 1.1s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(12) {
    transition-delay: 1.2s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(13) {
    transition-delay: 1.3s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(14) {
    transition-delay: 1.4s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(15) {
    transition-delay: 1.5s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(16) {
    transition-delay: 1.6s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(17) {
    transition-delay: 1.7s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(18) {
    transition-delay: 1.8s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(19) {
    transition-delay: 1.9s;
}

.repair-type.extend + .timeline .timeline-item:nth-child(20) {
    transition-delay: 2.0s;
}

.cost {
    padding: 20px;
    background-color: var(--bg-third);
    border-radius: 18px;
    margin-bottom: 32px;
}

.cost-timeline .timeline-item {
    display: block;
    margin-bottom: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.cost-details {
    font-size: 15px;
    margin: 0;
    padding: 0;
}

.cost-summary,
.cost-row {
    list-style-type: none;
    display: flex;
    justify-content: space-between;
}

.cost-summary,
.cost-title,
.timeline-main {
    font-size: 17px;
}

.cost-summary {
    margin-top: 8px;
    margin-bottom: 8px;
}

.cost-summary span {
    font-weight: 600;
}

.cost-title {
    margin-bottom: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    font-weight: 600;
}

.timeline-note,
.cost-details .cost-row:nth-child(1) {
    color: var(--txt-gray);
}

.cost-details .cost-row:nth-child(2) {
    color: #03a10e;
}

.timeline-note {
    font-style: italic;
}