/* Current Location Shortcode - Minimalist Design */
.beaucamion-current-location {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    border-radius: 8px;
    margin: 20px 0;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    font-family: 'Arial', sans-serif;
}

.beaucamion-current-location.open {
    background: transparent;
    border: none;
}

.beaucamion-current-location.closed {
    background: transparent;
    border: none;
}

.status-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.status-badge.open {
    background: #28a745;
    color: white;
}

.status-badge.closed {
    background: #dc3545;
    color: white;
}

.location-info-text {
    font-size: 16px;
    color: #333;
    line-height: 1.4;
}

.beaucamion-current-location.open .location-info-text {
    color: white;
}

.beaucamion-current-location.closed .location-info-text {
    color: white;
}

/* Time Icon */
.beaucamion-time-icon {
    margin-left: 8px;
}

/* Commander Button */
.beaucamion-order-btn {
    display: inline-block;
    padding: 2px 10px;
    background: white;
    color: black;
    text-decoration: none;
    border-radius: 25px;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    white-space: nowrap;
    margin-left: 15px;
}

.beaucamion-order-btn:hover {
    background: #ffc3c3;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
    color: white;
    text-decoration: none;
}

.beaucamion-order-btn:active {
    transform: translateY(0);
}

.beaucamion-order-btn:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.3);
}

/* Full Itinerary Shortcode */
.beaucamion-itinerary {
    margin: 20px 0;
}

.beaucamion-itinerary h3 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2em;
    color: #333;
}

.beaucamion-itinerary h4 {
    margin: 30px 0 20px 0;
    font-size: 1.5em;
    color: #444;
    border-bottom: 2px solid #4CAF50;
    padding-bottom: 10px;
}

/* Specific Dates Section */
.specific-dates-section {
    margin-bottom: 40px;
}

.specific-dates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.specific-date-item {
    background: linear-gradient(135deg, #fff3e0, #fff8f0);
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid #ff9800;
    transition: all 0.3s ease;
    position: relative;
}

.specific-date-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.specific-date-item.current-location {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    border-width: 3px;
}

.specific-date-item .date-header {
    font-size: 1.1em;
    font-weight: bold;
    color: #ff9800;
    margin-bottom: 10px;
    text-transform: capitalize;
}

.specific-date-item.current-location .date-header {
    color: #4CAF50;
}

.specific-date-item .location-name {
    font-size: 1.3em;
    font-weight: bold;
    color: #333;
    margin-bottom: 8px;
}

.specific-date-item .location-address {
    color: #666;
    margin-bottom: 10px;
    font-size: 0.95em;
}

.specific-date-item .location-hours {
    color: #555;
    font-size: 0.9em;
}

.specific-date-item .location-hours i {
    margin-right: 5px;
    color: #ff9800;
}

.specific-date-item.current-location .location-hours i {
    color: #4CAF50;
}

/* Weekly Schedule Section */
.weekly-schedule-section {
    margin-top: 40px;
}

.itinerary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.itinerary-day {
    background: #fff;
    border-radius: 10px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.itinerary-day:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.itinerary-day.current-day {
    border-color: #4CAF50;
    background: linear-gradient(135deg, #f8fff8, #e8f5e8);
}

.day-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #eee;
}

.day-header h4 {
    margin: 0;
    font-size: 1.3em;
    color: #333;
}

.current-indicator {
    color: #4CAF50;
    font-size: 1.2em;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

.location-item {
    background: #f9f9f9;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    border-left: 4px solid #ddd;
    transition: all 0.3s ease;
    position: relative;
}

.location-item:hover {
    background: #f0f0f0;
    border-left-color: #4CAF50;
}

.location-item.current-location {
    background: linear-gradient(135deg, #e8f5e8, #d4edda);
    border-left-color: #4CAF50;
    border-left-width: 6px;
}

.location-item.specific-date-location {
    background: linear-gradient(135deg, #fff3e0, #fff8f0);
    border-left-color: #ff9800;
    border-left-width: 6px;
}

.location-item.specific-date-location.current-location {
    background: linear-gradient(135deg, #e8f5e8, #fff3e0);
    border-left-color: #4CAF50;
}

.location-item .location-name {
    font-size: 1.2em;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.specific-date-label {
    font-size: 0.9em;
    color: #ff9800;
    font-weight: bold;
    margin-bottom: 8px;
}

.location-item.current-location .specific-date-label {
    color: #4CAF50;
}

.location-item .location-address {
    color: #666;
    margin-bottom: 8px;
    font-size: 0.95em;
}

.location-item .location-hours {
    color: #555;
    font-size: 0.9em;
}

.location-item .location-hours i {
    margin-right: 5px;
    color: #4CAF50;
}

.location-item.specific-date-location .location-hours i {
    color: #ff9800;
}

.location-item.specific-date-location.current-location .location-hours i {
    color: #4CAF50;
}

.current-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #4CAF50;
    color: white;
    padding: 4px 8px;
    border-radius: 15px;
    font-size: 0.8em;
    font-weight: bold;
    animation: pulse 2s infinite;
}

.closed-day {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .beaucamion-current-location {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
        padding: 12px 15px;
    }

    .status-badge {
        font-size: 11px;
        padding: 5px 10px;
    }

    .location-info-text {
        font-size: 14px;
    }
    
    .beaucamion-order-btn {
        margin-left: 0;
        margin-top: 10px;
        align-self: stretch;
        text-align: center;
        padding: 12px 20px;
        font-size: 13px;
    }

    .itinerary-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
}

/* Timeline Display Styles */
.beaucamion-itinerary.timeline-display {
    position: relative;
    width: 100%;
    height: 450px; /* Set a fixed height for the container */
}

.road-timeline-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    padding: 0;
    overflow: visible;
}

/* Timeline responsive design */
@media (max-width: 768px) {
    .beaucamion-itinerary.timeline-display {
        height: 350px; /* Smaller height on mobile */
    }
    
    .road-timeline-container {
        transform: translate(-50%, -50%) scale(0.8); /* Scale down on mobile */
    }
}

/* All Upcoming Locations Display - Canvas Trail Map */
.beaucamion-itinerary.all-upcoming {
    margin: 20px 0;
    text-align: center;
}

.trail-canvas-container {
    margin: 0 auto;
}

/* Responsive design for canvas trail map */
@media (max-width: 768px) {
    .trail-canvas-container {
        overflow-x: hidden;
    }
    
    .trail-canvas-container canvas {
        min-width: 600px;
    }
} 