.jo-opening-hours {
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.jo-opening-hours-title {
  margin-top: 0;
  margin-bottom: 15px;
  color: #333;
  font-size: 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
}

.jo-opening-hours-title.left { text-align: left; }
.jo-opening-hours-title.center { text-align: center; }
.jo-opening-hours-title.right { text-align: right; }

.jo-opening-hours-status {
    margin-bottom: 20px;
    padding: 10px;
    border-radius: 6px;
    background: #fff;
    border: 1px solid #dee2e6;
}

.status-indicator {
    display: flex;
	flex-wrap: wrap;
    align-items: center;
    gap: 5px;
    margin-bottom: 5px;

}

.status-indicator.status-open::before,
.status-indicator.status-closed::before {
    content: '';
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 8px;
    position: relative;
    box-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.2),
        -1px -1px 3px rgba(255, 255, 255, 0.8),
        inset 1px 1px 2px rgba(255, 255, 255, 0.4),
        inset -2px -2px 3px rgba(0, 0, 0, 0.1);
}

.status-indicator.status-open::before {
    background: linear-gradient(145deg, #2ecc71, #27ae60);
}

.status-indicator.status-closed::before {
    background: linear-gradient(145deg, #a0a0a0, #c9c9c9);
}

.status-text {
    font-weight: 600;
    font-size: 1.1rem;
	margin-right: 5px;
}

.next-change {
    font-size: 0.9rem;
    color: #6c757d;
}

.today-hours {
    font-size: 0.9rem;
    color: #495057;
}

.jo-opening-hours-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.jo-opening-hours-day {
    display: flex;
	flex-wrap: wrap;
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.jo-opening-hours-day.today {
    background: #e7f1ff;
    border-color: #007bff;
}

.jo-opening-hours-day.open {
    border-left: 4px solid #28a745;
}

.jo-opening-hours-day.closed {
    border-left: 4px solid #dc3545;
}

.day-header {
  flex: 1 1 auto;
}

.day-name {
    font-weight: 500;
    color: #212529;
}

.day-hours {
    color: #495057;
    display: flex;
    align-items: center;
	white-space: nowrap;
    align-self: flex-start;
}

.today-badge {
    font-size: 0.7rem;
    padding: 2px 8px;
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: #fff;
    border-radius: 12px;
    margin-left: 10px;
    display: inline-block;
    font-weight: 600;
    box-shadow: 0 2px 4px rgba(0, 123, 255, 0.3);
}

.jo-opening-hours-image {
    margin-bottom: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jo-opening-hours-image.left { justify-content: flex-start; }
.jo-opening-hours-image.center { justify-content: center; }
.jo-opening-hours-image.right { justify-content: flex-end; }

.jo-opening-hours-logo {
    max-width: 100%;
    height: auto;
    max-height: 80px;
    object-fit: contain;
}

.hours-icon {
    margin-right: 8px;
    display: inline-block;
    vertical-align: middle;
}

.hours-icon i {
    font-size: 1.1em;
    color: #6c757d;
}

.jo-opening-hours-buttons {
    margin-top: 20px;
    padding: 15px;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 6px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.jo-opening-hours-buttons.left {
    justify-content: flex-start;
}

.jo-opening-hours-buttons.center {
    justify-content: center;
}

.jo-opening-hours-buttons.right {
    justify-content: flex-end;
}

.jo-opening-hours-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 20px;
  background: linear-gradient(135deg, #007bff, #0056b3);
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  font-size: 1rem;
  text-align: center;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  min-width: 120px;
  flex: 1;
  max-width: 300px;
}


.jo-opening-hours-btn:hover, .jo-opening-hours-btn:focus, .jo-opening-hours-btn:active {
  color: #fff;
  text-decoration: none;
  background: linear-gradient(135deg, #0056b3, #003f8a);
  transform: translateY(-1px);
  box-shadow: 0 6px 14px rgba(0, 123, 255, 0.35);
}

.jo-opening-hours-btn:active {
    transform: translateY(0);
}

.jo-opening-hours-btn i,
.jo-opening-hours-btn svg {
    margin-right: 8px;
    font-size: 1em;
    line-height: 1;
}

.jo-opening-hours-btn span:not([class]) {
    font-size: 1.1em;
    margin-right: 6px;
}

.live-clock {
    font-weight: 600;
    color: #007bff;
    font-family: 'Courier New', monospace;
    background: rgba(0, 123, 255, 0.1);
    padding: 2px 6px;
    border-radius: 3px;
    border: 1px solid rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.live-clock:hover {
    background: rgba(0, 123, 255, 0.15);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.timezone-info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 5px;
    font-size: 0.9rem;
    color: #495057;
    margin-top: 5px;
    padding-top: 5px;
    border-top: 1px dashed #dee2e6;
}

.business-time-label {
    font-weight: 500;
    color: #343a40;
}

.timezone-display {
    font-size: 0.85rem;
    color: #6c757d;
}

/* Responsive adjustments for buttons with icons */
@media (max-width: 576px) {
    .jo-opening-hours-btn i,
    .jo-opening-hours-btn svg {
        margin-right: 6px;
        font-size: 0.9em;
    }
    
    .jo-opening-hours-btn {
        gap: 6px;
    }
}


@media (max-width: 768px) {
    .jo-opening-hours-logo {
        max-height: 60px;
    }
    .jo-opening-hours-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .jo-opening-hours-btn {
        width: 100%;
        max-width: 100%;
        margin-bottom: 8px;
    }
    
    .jo-opening-hours-btn:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 576px) {
    .jo-opening-hours-day {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .jo-opening-hours-day .day-hours {
        justify-content: space-between;
    }

    .today-badge {
        align-self: flex-end;
    }

    .hours-icon {
        margin-right: 6px;
    }

    .jo-opening-hours-logo {
        max-height: 50px;
    }
    .jo-opening-hours-btn {
        padding: 12px 15px;
    }
}
