/* DP-Timeline Widget Styles */

.dp-timeline-wrapper {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
}

.dp-timeline-container {
    position: relative;
    width: 100%;
}

/* Vertical Timeline Line - passes through center of each icon */
.dp-timeline-container::before {
    content: '';
    position: absolute;
    left: 25px;
    top: 50px;
    bottom: 50px;
    width: 2px;
    background-color: #e0e0e0;
    z-index: 1;
    transform: translateX(-50%);
}

.dp-timeline-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    margin-bottom: 40px;
    padding-left: 0;
}

.dp-timeline-item:last-child {
    margin-bottom: 0;
}

/* Icon Container - positioned so its center aligns with the timeline line */
.dp-timeline-icon-container {
    position: relative;
    width: 50px;
    height: 50px;
    min-width: 50px;
    min-height: 50px;
    background-color: #f8f8f8;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    z-index: 2;
    margin-right: 20px;
    margin-left: 0;
}

.dp-timeline-icon-container i,
.dp-timeline-icon-container svg {
    font-size: 24px;
    color: inherit;
    display: block;
}

.dp-timeline-icon-container svg {
    width: 24px;
    height: 24px;
}

/* Content Area */
.dp-timeline-content {
    flex: 1;
    padding-top: 0;
}

.dp-timeline-title {
    font-size: 18px;
    font-weight: 700;
    color: #333333;
    margin: 0 0 8px 0;
    line-height: 1.4;
}

.dp-timeline-description {
    font-size: 16px;
    font-weight: 400;
    color: #666666;
    margin: 0;
    line-height: 1.6;
}

/* Alignment Variations */
.dp-timeline-align-left .dp-timeline-item {
    flex-direction: row;
    text-align: left;
}

.dp-timeline-align-center .dp-timeline-item {
    flex-direction: row;
    justify-content: center;
    text-align: center;
}

.dp-timeline-align-center .dp-timeline-container::before {
    left: 50%;
    transform: translateX(-50%);
}

.dp-timeline-align-center .dp-timeline-icon-container {
    margin-left: calc(50% - 25px);
    margin-right: 20px;
}

.dp-timeline-align-right .dp-timeline-container::before {
    left: auto;
    right: 25px;
    transform: translateX(50%);
}

.dp-timeline-align-right .dp-timeline-item {
    flex-direction: row-reverse;
    text-align: right;
}

.dp-timeline-align-right .dp-timeline-icon-container {
    margin-left: 20px;
    margin-right: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .dp-timeline-item {
        margin-bottom: 30px;
    }
    
    .dp-timeline-container::before {
        left: 22.5px;
        top: 50px;
        bottom: 50px;
        transform: translateX(-50%);
    }
    
    .dp-timeline-icon-container {
        width: 45px;
        height: 45px;
        min-width: 45px;
        min-height: 45px;
        margin-right: 15px;
        margin-left: 0;
    }
    
    .dp-timeline-icon-container i,
    .dp-timeline-icon-container svg {
        font-size: 20px;
    }
    
    .dp-timeline-icon-container svg {
        width: 20px;
        height: 20px;
    }
    
    .dp-timeline-title {
        font-size: 16px;
    }
    
    .dp-timeline-description {
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .dp-timeline-item {
        margin-bottom: 25px;
    }
    
    .dp-timeline-container::before {
        left: 20px;
        top: 50px;
        bottom: 50px;
        transform: translateX(-50%);
    }
    
    .dp-timeline-icon-container {
        width: 40px;
        height: 40px;
        min-width: 40px;
        min-height: 40px;
        margin-right: 12px;
        margin-left: 0;
    }
    
    .dp-timeline-icon-container i,
    .dp-timeline-icon-container svg {
        font-size: 18px;
    }
    
    .dp-timeline-icon-container svg {
        width: 18px;
        height: 18px;
    }
    
    .dp-timeline-title {
        font-size: 15px;
    }
    
    .dp-timeline-description {
        font-size: 13px;
    }
}
