/* RESET SEMUA DEFAULT */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* BODY */
body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  color: #333;
}

.pengumuman-header {
  width: 100vw;             
  background-color: #1da0e0;
  color: white;
  padding: 20px;
  display: flex;
  justify-content: center;   /* center horizontal */
  align-items: center;       /* center vertikal */
}

.pengumuman-header h2 {
  display: flex;
  align-items: center;
  gap: 10px;               /* jarak icon 🔊 dan teks */
  font-size: 1.5em;
  justify-content: center;  /* center icon + teks */
}

/* MAIN */
main {
  padding: 20px;
}

/* CONTAINER PENGUMUMAN */
.pengumuman {
  max-width: 700px;
  margin: auto;
}

/* INFO BOX */
.info-box {
  background: white;
  margin: 20px 0;
  padding: 15px 20px;
  border-left: 5px solid #1da0e0;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.info-box p {
  margin-bottom: 12px; /* beri jarak antar paragraf */
  line-height: 1.3;    /* biar teks lebih enak dibaca */
}

.info-box p:last-child {
  margin-bottom: 0;    /* paragraf terakhir menempel ke bawah box */
}

.judul-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.judul-info .tanggal {
  font-weight: bold;
  color: #1da0e0;
  font-size: 1.1em;
}

.judul-info .waktu {
  font-size: 0.9em;
  color: #666;
}

/* TEKS AKHIR */
.end-text {
  text-align: center;
  color: #666;
  font-style: italic;
  margin: 25px 0 10px 0;
}

.end-text p {
  margin: 5px 0;
}

/* Icon animasi */
.pengumuman-header .icon {
  display: inline-block;
  animation: shake 1s infinite; /* nama animasi, durasi, loop */
}

.cs-button {
  position: fixed;
  bottom: 40px;
  right: 30px;
  width: 50px;       /* ukuran tombol */
  height: 50px;
  display: block;
  z-index: 9999;
}

.cs-button img {
  width: 100%;          /* sesuai dengan size tombol */
  height: 100%;         /* sesuai dengan size tombol */
  max-width: 100%;      /* jangan melebihi tombol */
  max-height: 100%;
  object-fit: contain;   /* jaga proporsi gambar */
  border-radius: 50%;    /* jika ingin bundar */
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}
