/* css/calendario.css */
.calendario-filtros {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 2rem;
  background: #fff;
  padding: 1rem 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

.calendario-search {
  padding: 0.5rem 1rem;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  font-size: 0.9rem;
  outline: none;
}
.calendario-search:focus {
  border-color: #007BC6;
}

.cal-cat-group {
  margin-bottom: 3rem;
}
.cal-cat-title {
  font-size: 2rem;
  color: #00355C;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  border-bottom: 2px solid rgba(0,123,198,0.2);
  padding-bottom: 0.5rem;
}

.cal-subcat-group {
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 3px solid rgba(0,123,198,0.2);
}

.cal-subcat-title {
  display: inline-block;
  background: #007BC6;
  color: #fff;
  padding: 0.4rem 1rem;
  font-size: 0.9rem;
  font-weight: bold;
  text-transform: uppercase;
  border-radius: 0 8px 8px 0;
  margin-bottom: 1rem;
  margin-left: -1rem;
}

.cal-month-card {
  display: flex;
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

@media (max-width: 768px) {
  .cal-month-card {
    flex-direction: column;
  }
}

.cal-month-left {
  background: #f8fafc;
  padding: 1.5rem;
  min-width: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-right: 1px solid #e2e8f0;
  text-align: center;
  position: relative;
}

@media (max-width: 768px) {
  .cal-month-left {
    border-right: none;
    border-bottom: 1px solid #e2e8f0;
  }
}

.cal-month-hasta {
  font-size: 0.7rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.cal-month-name {
  font-size: 1.8rem;
  color: #00355C;
  font-family: 'Anton', sans-serif;
}

.cal-month-desc {
  font-size: 0.65rem;
  text-transform: uppercase;
  padding: 0.2rem 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  background: #fff;
  margin-top: 0.5rem;
  color: #64748b;
}

.cal-month-right {
  flex: 1;
  overflow-x: auto;
  display: flex;
}
.cal-month-right::-webkit-scrollbar {
  height: 6px;
}
.cal-month-right::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.cal-nit-header-col {
  padding: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid #f1f5f9;
  background: #f8fafc;
}
.cal-nit-header-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: bold;
  text-align: right;
  line-height: 1.2;
}

.cal-nit-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1rem;
  min-width: 4.5rem;
  border-right: 1px solid #f1f5f9;
}
.cal-nit-col:last-child {
  border-right: none;
}

.cal-nit-number {
  font-size: 0.85rem;
  font-weight: bold;
  color: #64748b;
  margin-bottom: 0.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #e2e8f0;
  width: 100%;
  text-align: center;
}

.cal-nit-day {
  font-size: 1.5rem;
  font-family: 'Anton', sans-serif;
  color: #00355C;
}

.cal-single-date {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  width: 100%;
}
.cal-single-label {
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: bold;
  color: #64748b;
  margin-bottom: 0.5rem;
}
.cal-single-value {
  font-size: 1.5rem;
  font-family: 'Anton', sans-serif;
  color: #007BC6;
}

.cal-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 12px;
  color: #64748b;
  border: 1px solid #e2e8f0;
}
