@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');
#announcementBox {
     font-family: 'Poppins', sans-serif;
    position: fixed;
    right: 20px;
    top: 100px;
    width: 280px;
    height: 260px;
    background: #ffffff;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    font-family: 'Segoe UI', sans-serif;
    overflow: hidden;
    animation: slideIn 0.5s ease;
}

/* Animation */
@keyframes slideIn {
    from { transform: translateX(100%); }
    to { transform: translateX(0); }
}

.header {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    padding: 10px;
    font-size: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 50%;
    width: 25px;
    height: 25px;
       font-weight: 500;
  
}

.header button:hover {
    background: red;
}

.content {
    height: 200px;
    padding: 10px;
}

.notice {
    padding: 8px;
    border-bottom: 1px solid #eee;
    transition: 0.3s;
}

.notice:hover {
    background: #f5f9ff;
}

.notice a {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    display: block;
     color: #2c3e50;   /* dark professional color */
    font-weight: 500;
}

.notice a:hover {
    color: #007bff;
    
}

.date {
   color: #888;
    font-size: 11px;
}