@import url('../../mario-basica/css/styles.css');

/* Planner Enhancements */

/* Timeline Styles */
.marinero-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.marinero-timeline::before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #fff;
    transform: translateX(-50%);
    border-radius: 2px;
}

.timeline-step {
    position: relative;
    margin-bottom: 3rem;
    width: 100%;
    display: flex;
    justify-content: center;
}

.step-time {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
    background: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: bold;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    z-index: 2;
    top: 0;
}

.step-content {
    width: 45%;
    background: #fff;
    padding: 1.5rem;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
    margin-left: auto;
    /* Default to right side */
    display: flex;
    align-items: center;
    gap: 15px;
}

.timeline-step:nth-child(odd) .step-content {
    margin-left: 0;
    margin-right: auto;
    flex-direction: row-reverse;
    text-align: right;
}

.step-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.step-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.step-info p {
    margin: 0;
    font-size: 0.9rem;
    color: #666;
}

/* Responsive Timeline */
@media (max-width: 768px) {
    .marinero-timeline::before {
        left: 30px;
    }

    .timeline-step {
        justify-content: flex-start;
    }

    .step-time {
        left: 30px;
        top: -20px;
        font-size: 0.8rem;
    }

    .step-content {
        width: calc(100% - 60px);
        margin-left: 60px !important;
        margin-right: 0 !important;
        text-align: left !important;
        flex-direction: row !important;
    }
}