
/* v1.0.9 — Final Update: Fixed month/year dropdown background and added arrows */
* { box-sizing: border-box; }
.icp-wrapper { width: 100%; display: flex; justify-content: center; }
.icp-root { width: 100%; max-width: 1400px; border: 1px solid #e5e7eb; border-radius: 16px; background: #fff; }
.icp-header { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 12px 14px; color: #fff; background: linear-gradient(90deg, #16a34a, #f97316); }
.icp-title { font-weight: 800; font-size: 18px; white-space: nowrap; }
.icp-controls { display: flex; align-items: center; gap: 6px; flex-wrap: nowrap; overflow-x: auto; white-space: nowrap; }
.icp-controls::-webkit-scrollbar { height: 0; }
.icp-btn, .icp-select { height: 32px; line-height: 32px; font-size: 14px; border-radius: 10px; border: 0; background: rgba(255, 255, 255, .22); color: #fff; padding: 0 10px; }
.icp-btn { cursor: pointer; }
.icp-body { padding: 12px 14px; }
.icp-month { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 6px; color: #0f172a; }
.icp-caption { font-weight: 800; font-size: 18px; }
.icp-sub { font-size: 12px; color: #64748b; }
.icp-week { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; margin-bottom: 6px; text-align: center; color: #64748b; }
.icp-week div { font-size: 12px; font-weight: 700; }
.icp-grid { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: 1px; }

/* Cells — mobile compact (48px); desktop larger (104px); no aspect-ratio to avoid clipping */
.icp-cell { min-height: 48px; border: 1px solid #e5e7eb; border-radius: 10px; display: flex; flex-direction: column; justify-content: space-between; padding: 6px; position: relative; }
.icp-cell--blank { min-height: 48px; border: 1px solid #e5e7eb; border-radius: 10px; }
.icp-h { font-weight: 900; color: #16a34a; font-size: 14px; line-height: 1; }
.icp-g { font-size: 11px; color: #64748b; line-height: 1; }
.icp-today { outline: 2px solid #f97316; outline-offset: 0; }

@media (min-width: 768px) {
  .icp-root { max-width: 1500px; }
  .icp-title { font-size: 22px; }
  .icp-btn, .icp-select { height: 36px; line-height: 36px; font-size: 15px; border-radius: 12px; padding: 0 12px; }
  .icp-cell { min-height: 104px; padding: 8px; border-radius: 12px; }
  .icp-cell--blank { min-height: 104px; border-radius: 12px; }
  .icp-h { font-size: 18px; }
  .icp-g { font-size: 12px; }
}

/* Added arrow icon to dropdown (month and year select) */
.icp-select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding-right: 30px;
  background-color: #f97316;
  color: white;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  font-size: 14px;
  padding: 8px 12px;
  position: relative;
}

.icp-select::after {
  content: '\25BC'; /* Downward arrow */
  font-size: 12px;
  color: white;
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  pointer-events: none;
}

/* Focus state for dropdown */
.icp-select:focus::after {
  color: #16a34a; /* Green color on focus */
}
.icp-select:focus {
  outline: none;
}
