.mx789_container {
  max-width: 980px;
  /* margin: 20px auto; */
  margin-left: 10px;
  margin-right: 10px;
  direction: rtl;
  font-family: Arial, sans-serif;
}

.mx789_menu {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
  margin-bottom: 25px;
  background-color: #eee3df;
}

.mx789_row1, .mx789_row2 {
  display: contents;
}

.mx789_btn {
  /* background: linear-gradient(180deg, #1a2a40, #0e1a2b); */
  background: #7c5a44;
  color: #fff;
  border: 1px solid #222;
  border-radius: 12px;
  cursor: pointer;
  font-size: 12px;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  text-align: center;
  font-family: 'Cairo';
}

.mx789_btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.5);
  /* background: linear-gradient(180deg, #06b6d4, #028aa0); */
  background: #f4dbc3;
  color: black;
}

.mx789_btn:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(6,182,212,0.3);
  border-color: #06b6d4;
}

.mx789_btn.mx789_active {
  background: #fff6ed;
  color: #042027;
  font-weight: 700;
  box-shadow: 0 8px 25px rgba(6,182,212,0.2);
  transform: translateY(-2px) scale(1.02);
}

.mx789_panel {
  padding-left: 25px;
  padding-right: 25px;
  padding-bottom: 25px;
  padding-top: 10px;
  background: #eee3df;
  border-radius: 12px;
  color: black;
  box-shadow: 0 10px 30px rgba(0,0,0,0.6);
  min-height: 150px;
  transition: all 0.3s ease;
  font-family: 'Cairo';
}
