/**
 * Copyright © MaPerruque. All rights reserved.
 */

.medical-process-timeline {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.medical-process-header {
    text-align: center;
    margin-bottom: 60px;
}

.medical-process-title {
    font-size: 2.5rem;
    font-weight: 400;
    color: #2c2c2c;
    margin-bottom: 20px;
    line-height: 1.2;
}

.medical-process-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #8b7355 0%, #c4a881 100%);
    margin: 20px auto 0;
}

.medical-process-subtitle {
    font-size: 1rem;
    line-height: 1.6;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
}

.medical-process-steps {
    position: relative;
    padding: 20px 0;
}

.process-step {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.step-timeline {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 40px;
    flex-shrink: 0;
}

.step-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid #8b9dc3;
    position: relative;
    z-index: 2;
    transition: all 0.3s ease;
}

.process-step:hover .step-dot {
    background: #8b9dc3;
    transform: scale(1.2);
}

.step-line {
    width: 2px;
    flex: 1;
    background: linear-gradient(180deg, #8b9dc3 0%, rgba(139, 157, 195, 0.3) 100%);
    margin-top: -3px;
}

.step-content {
    flex: 1;
    display: flex;
    gap: 20px;
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.step-content:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
}

.step-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #8b9dc3 0%, #a8b8d8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.step-icon .icon {
    width: 32px;
    height: 32px;
    display: block;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0) invert(1);
}

.step-details {
    flex: 1;
}

.step-title {
    font-size: 1.5rem;
    font-weight: 500;
    color: #2c2c2c;
    margin: 0 0 15px 0;
}

.step-description {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #555;
    margin: 0 0 20px 0;
}

.step-meta {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 0.85rem;
}

.step-timing {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #8b9dc3;
    font-weight: 500;
    padding: 6px 12px;
    background: #f5f7fa;
    border-radius: 6px;
    width: fit-content;
}

.step-note {
    color: #888;
    font-style: italic;
}

/* Icon styles */
.icon-prescription::before,
.icon-nurse::before,
.icon-choice::before,
.icon-delivery::before {
    content: '';
    display: block;
    width: 100%;
    height: 100%;
}

/* Responsive */
@media (max-width: 768px) {
    .medical-process-title {
        font-size: 1.8rem;
    }
    
    .process-step {
        gap: 15px;
    }
    
    .step-content {
        flex-direction: column;
        padding: 20px;
    }
    
    .step-icon {
        width: 50px;
        height: 50px;
    }
    
    .step-title {
        font-size: 1.25rem;
    }
    
    .step-meta {
        font-size: 0.8rem;
    }
}
