
/**
 * AWH Business Hours Styles
 * Version: 1.0.3
 */

.awh-bh-wrap {
  width: 100%;
  max-width: 500px;
}

.awh-bh-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: nowrap;
}

.awh-bh-title {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #1a1a1a;
  white-space: nowrap;
}

/* Status Badge - Matching Your Style */
.awh-bh-status {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  padding: 0 20px;
  color: #FFFFFF;
  border-radius: 4px;
}

/* Open - Green */
.awh-bh-status.open {
  background-color: green;
  color: #FFFFFF;
}

/* Closed - Red */
.awh-bh-status.closed {
  background-color: red;
  color: #FFFFFF;
}

/* Opening Soon - Blue */
.awh-bh-status.opening-soon {
  background-color: blue;
  color: #FFFFFF;
}

/* Closing Soon - Orange */
.awh-bh-status.closing-soon {
  background-color: orange;
  color: #FFFFFF;
}


/* Table - NO BORDERS */
.awh-bh-table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  border: none;
}

.awh-bh-table tbody {
  border: none;
}

.awh-bh-row {
  border: none;
}

.awh-bh-row td {
  padding: 5px 12px;
  font-size: 15px;
  border: none;
  background: #f9fafb;
}

/* Alternate row colors for better readability */
.awh-bh-row:nth-child(odd) td {
  background: #ffffff;
}

.awh-bh-row:nth-child(even) td {
  background: #F1F1F1F1;
}

.awh-bh-day {
  width: 50%;
  font-weight: 500;
  color: #374151;
}

.awh-bh-time {
  width: 50%;
  text-align: right;
  white-space: nowrap;
  color: #1f2937;
  font-weight: 400;
}

/* Remove any inherited borders */
.awh-bh-table,
.awh-bh-table tbody,
.awh-bh-table tr,
.awh-bh-table td {
  border: none !important;
  border-spacing: 0;
  border-collapse: collapse;
}

/* Responsive */
@media (max-width: 640px) {
  .awh-bh-header {
    flex-wrap: wrap;
    gap: 8px;
  }
  
  .awh-bh-title {
    font-size: 16px;
  }
  
  .awh-bh-status {
    font-size: 13px;
  }
  
  .awh-bh-row td {
    font-size: 14px;
    padding: 8px 10px;
  }
}
