/* Global Styles */
body {
  font-family: 'Roboto', sans-serif;
  margin: 0;
  background: linear-gradient(to bottom, #121212, #1a1a1a);
  color: white;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

header {
  text-align: center;
  padding: 30px;
  background: linear-gradient(90deg, #ff6f61, #ff9966);
  color: white;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

header h1 {
  font-size: 3rem;
  margin: 0;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

header p {
  margin: 10px 0;
  color: #f0f0f0;
  font-size: 1.2rem;
}

#time {
  font-size: 1.5rem;
  margin: 10px 0;
  color: #ffffff;
}

.btn-whatsapp {
  background-color: #25d366;
  color: white;
  padding: 12px 24px;
  border: none;
  font-size: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.3s ease, background-color 0.3s ease;
}

.btn-whatsapp:hover {
  background-color: #20c357;
  transform: scale(1.1);
}

.main-container {
  width: 85%;
  margin: 20px auto;
  background-color: #222;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.7);
}

/* Tabel */
table {
  width: 100%;
  margin: 20px 0;
  border-collapse: collapse;
  background-color: #2a2a2a;
  border-radius: 10px;
  overflow: hidden;
  table-layout: fixed; /* Menetapkan lebar kolom tetap */
}

table th, table td {
  padding: 15px;
  text-align: left;
  border-bottom: 1px solid #444;
  word-wrap: break-word; /* Membungkus teks panjang */
}

table th {
  background-color: #333;
  color: #fff;
}

table th:nth-child(1), table td:nth-child(1) {
  width: 10%; /* Kolom "No" */
}

table th:nth-child(2), table td:nth-child(2) {
  width: 30%; /* Kolom "Name" */
}

table th:nth-child(3), table td:nth-child(3) {
  width: 20%; /* Kolom "Method" */
}

table th:nth-child(4), table td:nth-child(4) {
  width: 15%; /* Kolom "Action" */
}

table tr:nth-child(even) {
  background-color: #2f2f2f;
}

table tr:hover {
  background-color: #444;
  transition: background-color 0.3s ease;
}

.try-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: transform 0.3s ease;
}

.try-btn:hover {
  background-color: #0056b3;
  transform: scale(1.1);
}

/* Footer */
footer {
  text-align: center;
  padding: 15px;
  background: #1f1f1f;
  margin-top: auto;
  color: #cccccc;
  font-size: 0.9rem;
}

/* Responsif */
@media (max-width: 768px) {
  header h1 {
    font-size: 2.2rem;
  }

  .btn-whatsapp {
    font-size: 0.9rem;
    padding: 10px 20px;
  }

  table th, table td {
    font-size: 0.85rem;
    padding: 10px;
  }
}
