.kaem-calendar {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

.kaem-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 15px;
}

.kaem-title {
  font-size: 18px;
  font-weight: 600;
  color: #111827;
}

.kaem-prev,
.kaem-next {
  background: #f3f4f6;
  border: none;
  padding: 8px 14px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.2s;
}

.kaem-prev:hover,
.kaem-next:hover {
  background: #e5e7eb;
}

.kaem-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 10px;
}

.kaem-day {
  background: #fafafa;
  border-radius: 12px;
  padding: 8px;
  min-height: 100px;
  display: flex;
  flex-direction: column;
  transition: 0.2s;
  border: 1px solid #f1f1f1;
}

.kaem-day:hover {
  background: #f9fafb;
  transform: translateY(-2px);
}

.kaem-day-header {
  display: flex;
  justify-content: flex-end;
  margin-bottom: 6px;
}

.kaem-day-number {
  font-size: 12px;
  font-weight: 600;
  color: #6b7280;
}

.kaem-day-body {
  flex: 1;
  overflow: hidden;
}

.kaem-event-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.kaem-event-list li {
  margin-bottom: 4px;
}

.kaem-event {
  display: block;
  font-size: 12px;
  padding: 4px 6px;
  background: #6366f1;
  color: #fff;
  border-radius: 6px;
  cursor: pointer;
  transition: 0.2s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.kaem-event:hover {
  background: #4f46e5;
}

.kaem-no-event {
  height: 100%;
}

.kaem-empty {
  text-align: center;
  margin-top: 15px;
  color: #9ca3af;
}

.kaem-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 9999;
}

.kaem-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
}

.kaem-modal-content {
  position: relative;
  max-width: 500px;
  margin: 80px auto;
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  z-index: 2;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.kaem-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  color: #6b7280;
}

.kaem-close:hover {
  color: #111827;
}