/**
 * @package        XPC
 * @copyright      Copyright (C) CloudHotelier. All rights reserved.
 * @author         CloudHotelier Developers <dev@cloudhotelier.com>
 */
.xpc-text-primary {
  color: #23B4ED;
}
.xpc-text-primary-important {
  color: #23B4ED !important;
}
.xpc-text-red {
  color: #dc3545;
}
.xpc-text-green {
  color: #28A746;
}
.xpc-text-orange {
  color: #ffc107;
}
.xpc-text-red-dark {
  color: #dc3545;
}
.xpc-bg-red {
  background-color: #dc3545;
}
.xpc-bg-green {
  background-color: #28A746;
}
.xpc-bg-orange {
  background-color: #ffc107;
}
.xpc-bg-red-dark {
  background-color: #dc3545;
}
.xpc-bg-muted {
  background-color: #e5e5e5;
}
.xpc-text-numeric {
  font-variant-numeric: tabular-nums;
}
.xpc-logo {
  margin: 5px auto 20px;
}
.xpc-label {
  display: inline-block;
  padding: 0 5px;
  color: #fff;
  background: #23B4ED;
  line-height: 1.5;
  font-size: 0.875rem;
  vertical-align: middle;
  white-space: nowrap;
  border-radius: 2px;
}
.xpc-label-muted {
  color: #757575;
  background: #f8f8f8;
}
.xpc-label-red {
  background-color: #dc3545;
}
.xpc-label-green {
  background-color: #28A746;
}
.xpc-label-green {
  background-color: #ffc107;
}
.xpc-powered {
  display: block;
  margin: 40px auto 20px auto;
  width: 91.5px;
  height: auto;
}
.xpc-block-main {
  padding: 30px 0 60px;
  background: #f8f8f8;
  border-top: 1px solid #e5e5e5;
}
.xpc-loading {
  position: fixed;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.225);
  top: 0;
  left: 0;
  z-index: 99999;
}
.xpc-sidebar {
  width: 360px;
}
.xpc-calendar {
  max-width: 700px;
  padding: 16px 24px;
  user-select: none;
}
.xpc-calendar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}
.xpc-calendar-title {
  flex-grow: 1;
  text-align: center;
  font-weight: 600;
  font-size: 1.3rem;
  user-select: none;
}
.xpc-calendar-nav-btn {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #555;
  padding: 0.1rem 0.3rem;
  transition: color 0.2s;
}
.xpc-calendar-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.xpc-calendar-nav-btn:hover:not(:disabled) {
  color: #1e87f0;
}
.xpc-calendar-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  row-gap: 10px;
  column-gap: 0;
}
.xpc-calendar-day-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: #666;
  text-align: center;
  user-select: none;
  padding-bottom: 4px;
  border-bottom: 1px solid #e6e6e6;
}
.xpc-calendar-day {
  padding: 8px 0;
  text-align: center;
  cursor: pointer;
  border-radius: 0.3rem;
  user-select: none;
  color: inherit;
  transition: background-color 0.2s ease;
  position: relative;
  min-height: 48px;
}
.xpc-calendar-day:hover {
  background-color: #f0f7ff;
}
.xpc-calendar-day[disabled] {
  opacity: 0.4;
  cursor: not-allowed;
}
.xpc-calendar-day .xpc-calendar-rate {
  font-size: 0.7rem;
  color: #999;
  margin-top: 0.2rem;
  user-select: none;
  min-height: 18px;
  transition: color 0.3s ease;
}
.xpc-calendar-day .xpc-calendar-rate.loading {
  color: #bbb;
  font-style: italic;
}
