/* table.css */

/* A simple, reusable table styling for your Rules page (and beyond) */

/* The wrapper class for your scoring table */
.rules-table {
  width: 100%;
  max-width: 800px;       /* limit wide screens if you want */
  margin: 2rem auto;      /* center horizontally, add spacing from top */
  border-collapse: collapse;
  font-family: sans-serif;
  background-color: #fff; /* if you want a white background inside table */
  color: #000;            /* text color */
}

/* Table header styling */
.rules-table thead th {
  background-color: #FFD54F; /* or pick a brand color from base_theme.css */
  border-bottom: 2px solid #000;
  padding: 8px;
  text-align: center;
  font-weight: 700;
}

/* Table body row styling */
.rules-table tbody tr {
  border-bottom: 1px solid #ccc;
}

/* Table cell styling */
.rules-table td {
  padding: 10px;
  text-align: center;        /* center images + text in each cell */
}

/* Optional: add hover highlight on table rows */
.rules-table tbody tr:hover {
  background-color: #FFF8CC;
}

/* Phone-mockup container styling */
.phone-mockup {
  width: 320px;               /* Adjust as you like */
  border: 3px solid #000000;  /* Bold black border */
  border-radius: 20px;
  background-color: #FFC700;  /* Same gold brand background */
  margin: 2rem auto;          /* Center horizontally, margin from top */
  position: relative;         /* So we can position hamburger icons */
  overflow: hidden;           /* Hide anything that sticks out of radius */
  box-shadow: 0 0 10px rgba(0,0,0,0.3); /* optional shadow */
  font-family: sans-serif;
}

/* Top bar (where the brand logo and hamburger icons live) */
.phone-top-bar {
  height: 60px;
  border-bottom: 2px solid #000;
  display: flex;
  align-items: center;
  justify-content: center; /* center the Roll5Dice logo horizontally */
  position: relative;      /* so hamburger icons can be absolutely placed */
}

/* The brand logo in the top bar */
.phone-top-bar img.logo {
  height: 30px; /* adjust to fit your design */
  display: block;
}

/* Hamburger icons on left & right in the top bar */
.hamburger-left,
.hamburger-right {
  width: 20px;
  height: 14px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}
.hamburger-left {
  left: 15px;
  /* Use your own icon, or inline background-image if you have it.
     For a placeholder, let's do 3 horizontal bars in CSS: */

}
.hamburger-right {
  right: 15px;

}

/* The bar with "Points legend" text */
.phone-sub-bar {
  border-bottom: 2px solid #000;
  text-align: center;
  font-weight: bold;
  padding: 8px 0;  /* vertical padding */
}

/* The actual points list area */
.points-container {
  padding: 1rem;
}

/* Each row with dice (left) and the points (right) */
.points-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0.5rem 0; /* spacing between rows */
}

/* Left side: images or letters (K, J, etc.) */
.points-left {
  display: flex;
  align-items: center;
  gap: 8px;  /* space between multiple images/letters */
}

/* Right side: numeric points */
.points-right {
  font-weight: 600; /* bolder text for points */
}

/* Layout: text left, mockup right */
.rules-layout {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 2rem;
  padding: 2rem;
  flex-wrap: wrap; /* Umożliwia responsywność */
}

.rules-text {
  flex: 1;
  min-width: 300px;
}

.rules-mockup {
  flex: 0 0 auto;
}
.rules-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 2rem;
}

@media (max-width: 768px) {
  .rules-layout {
    flex-direction: column;
    align-items: center;
    padding: 1rem;
  }

  .rules-text,
  .rules-mockup {
    width: 100%;
    max-width: 100%;
  }

  .phone-mockup {
    margin-top: 2rem;
  }
}


