.elementor-29876 .elementor-element.elementor-element-6d09a4e5{--display:flex;}.elementor-29876 .elementor-element.elementor-element-8b3d4e7{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;}/* Start custom CSS for html, class: .elementor-element-176c38a *//* --- General Container and Typography --- */
.bamak-table-container {
  direction: rtl;
  margin: 40px auto;
  padding: 0 15px;
  max-width: 900px;
  font-family: inherit;
}

.bamak-table-title {
  text-align: center;
  font-size: 24px;
  font-weight: 700;
  color: #2c3e50;
  margin-bottom: 10px;
}

.bamak-table-description {
  text-align: center;
  font-size: 16px;
  color: #555;
  line-height: 1.7;
  margin-bottom: 30px;
}

/* --- Desktop Table Styles --- */
.bamak-table-wrapper {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  border-radius: 12px;
  overflow: hidden;
}

.bamak-responsive-table {
  width: 100%;
  border-collapse: collapse;
}

.bamak-responsive-table thead {
  /* === CHANGED === */
  /* Using a clear, high-contrast blue for better accessibility and aesthetics */
  background-color: #007bff; 
  color: #ffffff;
}

.bamak-responsive-table th,
.bamak-responsive-table td {
  padding: 15px 20px;
  text-align: right;
}

.bamak-responsive-table th {
  font-weight: 600;
  font-size: 15px;
}

.bamak-responsive-table tbody tr {
  border-bottom: 1px solid #ecf0f1;
  background-color: #ffffff;
  transition: background-color 0.2s ease;
}

.bamak-responsive-table tbody tr:last-child {
  border-bottom: none;
}

.bamak-responsive-table tbody tr:nth-of-type(even) {
  background-color: #f8f9fa;
}

.bamak-responsive-table tbody tr:hover {
  background-color: #e9ecef;
}

.bamak-responsive-table td strong {
  color: #2c3e50;
}

/* --- Mobile Responsive Styles --- */
@media screen and (max-width: 768px) {
  .bamak-table-wrapper {
    box-shadow: none;
  }

  .bamak-responsive-table {
    border: none;
  }

  .bamak-responsive-table thead {
    display: none;
  }

  .bamak-responsive-table tr {
    display: block;
    margin-bottom: 25px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
  }

  .bamak-responsive-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #ecf0f1;
    background-color: #fff; /* Ensure white background for data rows */
  }

  .bamak-responsive-table td:last-child {
    border-bottom: none;
  }

  .bamak-responsive-table td::before {
    content: attr(data-label);
    font-weight: 600;
    color: #555; /* A softer color for the label */
    text-align: right;
    padding-left: 10px;
  }

  /* === CHANGED SECTION === */
  /* Style the first cell of each row as a card header with the new blue color */
  .bamak-responsive-table td:first-child {
    background-color: #007bff; /* Matching the desktop header color */
    color: #ffffff; /* White text for high contrast */
    font-size: 16px;
    font-weight: 700;
    display: block;
    text-align: center !important;
  }
  
  .bamak-responsive-table td:first-child::before {
    display: none; /* Hide pseudo-label for the header cell */
  }
  
  .bamak-responsive-table td:first-child strong {
    color: #ffffff; /* Ensure the strong tag also becomes white */
  }
}/* End custom CSS */