/**
 * Business Hours Widget/Shortcode Styles
 */

.blm-hours-display {
    font-family: inherit;
}

.blm-hours-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.blm-hours-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.blm-hours-row:last-child {
    border-bottom: none;
}

.blm-hours-day {
    font-weight: 600;
    color: #333;
}

.blm-hours-time {
    color: #666;
}

/* Today highlight */
.blm-hours-today {
    background: #f0f7ff;
    margin: 0 -10px;
    padding: 8px 10px;
    border-radius: 4px;
    border-bottom-color: transparent;
}

.blm-hours-today .blm-hours-day {
    color: #0073aa;
}

.blm-hours-today .blm-hours-time {
    color: #0073aa;
    font-weight: 600;
}

/* Closed days */
.blm-hours-closed .blm-hours-day {
    color: #999;
}

.blm-hours-closed-text {
    color: #999;
    font-style: italic;
}

/* 24/7 message */
.blm-hours-247 {
    text-align: center;
    font-weight: 600;
    color: #46b450;
    padding: 15px 0;
    margin: 0;
}

/* No hours message */
.blm-hours-none {
    text-align: center;
    color: #999;
    font-style: italic;
    padding: 15px 0;
    margin: 0;
}

/* Widget-specific adjustments */
.widget .blm-hours-display {
    font-size: 14px;
}

.widget .blm-hours-row {
    padding: 6px 0;
}

.widget .blm-hours-today {
    margin: 0 -15px;
    padding: 6px 15px;
}

/* Compact layout option (add class="blm-hours-compact" to shortcode) */
.blm-hours-compact .blm-hours-row {
    padding: 4px 0;
    font-size: 13px;
}

.blm-hours-compact .blm-hours-today {
    margin: 0 -8px;
    padding: 4px 8px;
}

/* Card layout option (add class="blm-hours-card" to shortcode) */
.blm-hours-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 6px;
    padding: 15px 20px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
}

.blm-hours-card .blm-hours-today {
    margin: 0 -20px;
    padding: 8px 20px;
}
