/* CSS cho thông tin thời gian của place */

.place-time-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    margin: 10px 0;
    font-size: 14px;
    line-height: 1.4;
}

.place-time-info .time-info-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
    font-weight: 600;
    color: #495057;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 8px;
}

.place-time-info .time-info-header i {
    margin-right: 8px;
    color: #007bff;
}

.place-time-info .time-info-item {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
    padding: 6px 0;
}

.place-time-info .time-info-item:last-child {
    margin-bottom: 0;
}

.place-time-info .time-info-item i {
    margin-right: 8px;
    width: 16px;
    text-align: center;
    color: #6c757d;
}

.place-time-info .time-label {
    font-weight: 500;
    color: #495057;
    margin-right: 8px;
    min-width: 120px;
}

.place-time-info .time-value {
    color: #212529;
    font-weight: 400;
}

/* Button hiển thị lịch trình chi tiết */
.btn-show-schedule {
    background: #007bff;
    color: white;
    border: none;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 12px;
    cursor: pointer;
    transition: background-color 0.2s;
}

.btn-show-schedule:hover {
    background: #0056b3;
}

.btn-show-schedule.active {
    background: #6c757d;
}

/* Lịch trình chi tiết */
.schedule-details {
    margin-top: 10px;
    padding: 10px;
    background: white;
    border: 1px solid #dee2e6;
    border-radius: 4px;
}

.schedule-day {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 4px 0;
    border-bottom: 1px solid #f1f3f4;
}

.schedule-day:last-child {
    border-bottom: none;
}

.schedule-day .day-name {
    font-weight: 500;
    color: #495057;
    min-width: 60px;
}

.schedule-day .day-time {
    color: #212529;
    font-family: monospace;
}

/* Responsive */
@media (max-width: 768px) {
    .place-time-info {
        padding: 12px;
        font-size: 13px;
    }
    
    .place-time-info .time-info-item {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .place-time-info .time-label {
        min-width: auto;
        margin-bottom: 4px;
    }
    
    .schedule-day {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .schedule-day .day-name {
        margin-bottom: 2px;
    }
}

/* Animation cho schedule details */
.schedule-details {
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon colors */
.place-time-info .fa-clock {
    color: #007bff;
}

.place-time-info .fa-door-open {
    color: #28a745;
}

.place-time-info .fa-hourglass {
    color: #ffc107;
}

.place-time-info .fa-calendar {
    color: #17a2b8;
}

/* Hover effects */
.place-time-info:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: box-shadow 0.2s;
}

/* Loading state */
.place-time-info.loading {
    opacity: 0.7;
    pointer-events: none;
}

.place-time-info.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #f3f3f3;
    border-top: 2px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Price Info Styles */
.place-price-info {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    padding: 10px;
    margin-top: 10px;
    font-size: 14px;
}

.place-price-info p {
    margin: 0;
    color: #495057;
}

.place-price-info strong {
    color: #007bff;
}

.price-category {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    margin-left: 8px;
}

.price-category.cheap {
    background: #d4edda;
    color: #155724;
}

.price-category.medium {
    background: #fff3cd;
    color: #856404;
}

.price-category.expensive {
    background: #f8d7da;
    color: #721c24;
}

.price-category.free {
    background: #d1ecf1;
    color: #0c5460;
} 