.wsm-wrapper {
  background: #f9fcff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.wsm-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  text-align: center;
  margin-bottom: 20px;
}

.wsm-week-title {
  flex: 1;
  text-align: center;
  font-size: 1.3rem;
  font-weight: 600;
  color: #2a4d7f;
}

.wsm-nav-btn {
  background: #4e9af1;
  color: #fff;
  border: none;
  padding: 8px 15px;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.3s;
}

.wsm-nav-btn:hover {
  background: #2f7be0;
}

.wsm-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 15px;
}

.wsm-card {
  background: #fff;
  border-radius: 12px;
  padding: 15px;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  transition: transform 0.2s;
}

.wsm-card:hover {
  transform: translateY(-5px);
}

.wsm-card.today {
  animation: glowing-pulse 2s ease-in-out infinite;
}

@keyframes glowing-pulse {
  0% { box-shadow: 0 0 5px rgba(78, 154, 241, 0.5); }
  50% { box-shadow: 0 0 20px rgba(78, 154, 241, 0.8); }
  100% { box-shadow: 0 0 5px rgba(78, 154, 241, 0.5); }
}

.wsm-day {
  font-size: 1.1rem;
  font-weight: bold;
  color: #4e9af1;
  margin-bottom: 8px;
}

.wsm-title {
  font-size: 1rem;
  color: #222;
  font-weight: 500;
  text-decoration: none;
  display: inline-block;
  margin-top: 6px;
}

.wsm-title:hover {
  color: #0073aa;
  text-decoration: underline;
}

.wsm-cat {
  display: inline-block;
  background: #e3f2fd;
  color: #1e88e5;
  border-radius: 8px;
  padding: 3px 8px;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.wsm-empty {
  color: #999;
  font-style: italic;
}

@media (max-width: 600px) {
  .wsm-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
  }

  .wsm-card {
    flex: 0 0 75%;
    scroll-snap-align: center;
  }

  .wsm-week-title {
    font-size: 1.1rem;
  }
}