
.notice-board-container {
  background: #ffffff;
  border: 1px solid #e1e5e9;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  height: 100%;
  position: relative;
}

.notice-header {
  background: linear-gradient(135deg, #003366 0%, #004080 100%);
  color: white;
  padding: 15px 20px;
  font-weight: 600;
  font-size: 1.1rem;
  border-bottom: 3px solid #C8102E;
  position: relative;
}

.notice-header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 60px;
  height: 3px;
  background: #fbbf24;
}

.notice-content {
  max-height: 420px;
  overflow-y: auto;
  padding: 0;
  background: #fafbfc;
}

.notice-item {
  padding: 16px 20px;
  border-bottom: 1px solid #e9ecef;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: white;
  margin-bottom: 2px;
  transition: all 0.3s ease;
  position: relative;
}

.notice-item:hover {
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.notice-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
}

.notice-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #C8102E 0%, #003366 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.notice-item:hover::before {
  opacity: 1;
}

.notice-date {
  background: linear-gradient(135deg, #C8102E 0%, #a00d26 100%);
  color: white;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
  min-width: 70px;
  text-align: center;
  box-shadow: 0 2px 4px rgba(200, 16, 46, 0.3);
  flex-shrink: 0;
}

.notice-text {
  flex: 1;
  font-size: 0.9rem;
  color: #374151;
  line-height: 1.5;
  font-weight: 500;
}

.notice-badge {
  background: linear-gradient(135deg, #003366 0%, #004080 100%);
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 0.7rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-left: auto;
  flex-shrink: 0;
  box-shadow: 0 1px 3px rgba(0, 51, 102, 0.3);
}

/* Custom Scrollbar */
.notice-content::-webkit-scrollbar {
  width: 6px;
}

.notice-content::-webkit-scrollbar-track {
  background: #f1f3f4;
  border-radius: 3px;
}

.notice-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #C8102E 0%, #003366 100%);
  border-radius: 3px;
}

.notice-content::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #a00d26 0%, #002244 100%);
}

/* Responsive Design */
@media (max-width: 768px) {
  .notice-header {
    padding: 12px 16px;
    font-size: 1rem;
  }
  
  .notice-item {
    padding: 12px 16px;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
  
  .notice-date {
    align-self: flex-start;
    min-width: auto;
  }
  
  .notice-badge {
    align-self: flex-end;
    margin-left: 0;
    margin-top: 8px;
  }
  
  .notice-content {
    max-height: 350px;
  }
}

@keyframes slideInNotice {
  from {
    opacity: 0;
    transform: translateX(-20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.notice-item {
  animation: slideInNotice 0.5s ease-out;
}

.notice-item.important {
  border-left: 4px solid #dc2626;
}

.notice-item.important .notice-badge {
  background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
}