/* === assets/css/style.css === */

/* Base Layout */
.dadu-wrapper {
  max-width: 600px;
  margin: 40px auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  font-family: 'Poppins', sans-serif;
  overflow: hidden;
}

.dadu-header {
  background: #2b2b2b;
  color: #fff;
  text-align: center;
  padding: 15px;
  font-size: 1.4rem;
  font-weight: 600;
}

/* Tabs */
.dadu-tabs {
  display: flex;
  background: #f7f7f7;
  border-bottom: 1px solid #ddd;
}

.dadu-tab {
  flex: 1;
  padding: 12px;
  text-align: center;
  cursor: pointer;
  font-weight: 500;
  transition: background 0.3s;
}

.dadu-tab:hover,
.dadu-tab.active {
  background: #2b2b2b;
  color: #fff;
}

/* Tab Content */
.dadu-content {
  padding: 20px;
  display: none;
}

.dadu-content.active {
  display: block;
}

/* Reusable Buttons */
.dadu-btn {
  background: #2b2b2b;
  color: #fff;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.3s;
}

.dadu-btn:hover {
  background: #444;
}

/* Forms & Inputs */
.dadu-input {
  /* padding: 10px; */
  border: 1px solid #ccc;
  border-radius: 6px;
  width: 100%;
  /* margin-bottom: 10px; */
}

/* Tables */
.dadu-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.dadu-table th,
.dadu-table td {
  border: 1px solid #ddd;
  padding: 8px;
  text-align: center;
}

.dadu-table th {
  background: #f4f4f4;
  font-weight: 600;
}

/* Dice Animation Reusable */
.dadu-dice {
  font-size: 60px;
  text-align: center;
  transition: transform 0.3s;
}

.dadu-dice.roll {
  transform: rotate(360deg);
}

/* Utility */
.text-center { text-align: center; }
.mt-10 { margin-top: 10px; }
.mt-20 { margin-top: 20px; }
