/*org css*/
#custom-login-wrapper {
    max-width: 500px;
    margin: 80px auto;
    padding: 40px;
    border-radius: 15px;
    background: #fff7ec;
    color: #000;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
    font-family: 'Poppins', sans-serif;
}

#custom-login-wrapper h2 {
    color: #fda329;
    margin-bottom: 20px;
}

#custom-login-form input {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border-radius: 10px;
    border: 1px solid #ddd;
    font-size: 16px;
    color: #000;
}

#login-btn {
    background: #fda329;
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

#login-btn:hover {
    background: #ffb84d;
}

.login-message {
    margin-top: 10px;
    font-size: 14px;
}

.organizer-mec-books {
    padding: 40px 0px;
}

.organizer-mec-books table.dataTable {
    border-collapse: collapse;
    width: 100%;
}

.organizer-mec-books th {
    text-align: left;
    padding: 10px;
}

.organizer-mec-books th {
    background-color: #fda329;
    color: white;
}

.organizer-mec-books td {
    padding: 12px 10px;
    vertical-align: middle;
}

.organizer-mec-books td a,
.organizer-mec-books td button {
    background: #fda329;
    border: none;
    color: black !important;
    padding: 12px;
    font-weight: 700;
    border-radius: 6px;
    cursor: pointer;
    margin-right: 5px;
    font-size: 14px;
    transition: 0.3s;
    text-decoration: none;
    display: inline-block;
    line-height: 1;
    vertical-align: middle;
    box-sizing: border-box;
}

.organizer-mec-books td a:hover,
.organizer-mec-books td button:hover {
    background: #e69720;
    color: #fff !important;
}

.organizer-mec-books td a.bracket-link {
	background: #484848;
    color: #fff !important;
}

.organizer-mec-books h2 {
    margin-bottom: 20px;
}

.dataTables_wrapper .dataTables_filter {
    padding-bottom: 10px !important;
}

.page-id-7365 .content .container,
.page-id-7369 .content .container,
.page-id-7221 .content .container {
    max-width: 1600px;
    width: 1600px;
}

/*org css end*/

/* org css for mobile and tab - start */
/* Tablet and below */
@media (max-width: 992px) {

    .page-id-7365 .content .container,
    .page-id-7369 .content .container,
    .page-id-7221 .content .container {
        max-width: 100%;
        width: 100%;
    }

    /* Make the DataTables wrapper scrollable horizontally */
    #mecBooksTable_wrapper,
    #mecBooksTable_wrapper .dataTables_scroll,
    #mecBooksTable_wrapper .dataTables_scrollBody {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    /* Ensure the table is wider than viewport so scrolling appears */
    #mecBooksTable {
        width: max-content !important;
        /* prefers content width */
        min-width: 900px;
        /* fallback forces scroll */
        table-layout: auto !important;
    }

    /* Keep cells on one line so columns don’t wrap and hide scroll */
    #mecBooksTable th,
    #mecBooksTable td {
        white-space: nowrap !important;
    }
}

/* Mobile */
@media (max-width: 768px) {

    .page-id-7365 .content .container,
    .page-id-7369 .content .container,
    .page-id-7221 .content .container {
        max-width: 100%;
        width: 100%;
    }

    .organizer-mec-books h2 {
        text-align: left !important;
    }

    #login-btn {
        float: left !important;
    }

    #mecBooksTable_wrapper,
    #mecBooksTable_wrapper .dataTables_scroll,
    #mecBooksTable_wrapper .dataTables_scrollBody {
        width: 100% !important;
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    #mecBooksTable {
        width: max-content !important;
        min-width: 1000px;
        /* a bit wider for phones */
    }

    #mecBooksTable th,
    #mecBooksTable td {
        white-space: nowrap !important;
        padding: 8px 10px;
        /* compact for small screens */
        font-size: 13px;
    }

    /* If DataTables creates scroll head, prevent double width issues */
    #mecBooksTable_wrapper .dataTables_scrollHead,
    #mecBooksTable_wrapper .dataTables_scrollHeadInner {
        width: auto !important;
    }
}

@media (max-width: 992px) {
    #mecBooksTable_wrapper {
        position: relative;
        overflow-x: auto !important;
    }
}
/* =========================================
   GLOBAL WRAPPER
   ========================================= */
.dt-container {
  font-family: "Inter", sans-serif;
  color: #333;
  background: #fff;
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* =========================================
   TOP TOOLBAR (EXPORT BUTTONS + SEARCH)
   ========================================= */
.dt-container .dt-buttons {
  float: left;
  margin-bottom: 15px;
}

.dt-container .dt-search {
  float: right;
  text-align: right;
  margin-bottom: 15px;
}

/* Clear floats */
.dt-container::after {
  content: "";
  display: block;
  clear: both;
}

/* =========================================
   EXPORT BUTTONS
   ========================================= */
.dt-container .dt-button {
  background-color: #ffb84d !important;
  border: none !important;
  color: #fff !important;
  padding: 8px 16px !important;
  border-radius: 8px !important;
  margin-right: 8px !important;
  font-weight: 600 !important;
  transition: all 0.25s ease;
  box-shadow: 0 2px 4px rgba(255, 184, 77, 0.3);
}

.dt-container .dt-button:hover {
  background-color: #e6a23c !important;
  box-shadow: 0 3px 6px rgba(255, 184, 77, 0.4);
  transform: translateY(-1px);
}

/* =========================================
   SEARCH BOX
   ========================================= */
.dt-container .dt-search label {
  font-weight: 600;
  color: #444;
  margin-right: 6px;
}

.dt-container .dt-search input {
  border: 2px solid #ffb84d;
  border-radius: 6px;
  padding: 6px 10px;
  outline: none;
  transition: 0.25s ease;
}

.dt-container .dt-search input:focus {
  border-color: #e6a23c;
  box-shadow: 0 0 5px rgba(255, 184, 77, 0.4);
}

/* =========================================
   TABLE STYLING
   ========================================= */
table.dataTable thead th {
  background-color: #ffb84d;
  color: #fff;
  font-weight: 600;
  text-align: left;
  border: none;
}

table.dataTable tbody tr:nth-child(even) {
  background-color: #fff8ec;
}

table.dataTable tbody tr:hover {
  background-color: #fff2d9;
}

/* =========================================
   PAGINATION & INFO (BOTTOM SECTION)
   ========================================= */
.dt-container .dt-info {
  float: left;
  color: #666;
  margin-top: 10px;
}

.dt-container .dt-paging {
  float: right;
  margin-top: 10px;
}

/* Pagination buttons */
.dt-container .dt-paging-button {
  background-color: #fff;
  border: 1px solid #ffb84d !important;
  border-radius: 6px;
  color: #333 !important;
  padding: 5px 12px;
  margin: 2px;
  transition: all 0.2s ease;
  cursor: pointer;
}

.dt-container .dt-paging-button:hover:not(.disabled) {
  background-color: #ffb84d !important;
  color: #fff !important;
}

.dt-container .dt-paging-button.current {
  background-color: #ffb84d !important;
  color: #fff !important;
  border: 1px solid #ffb84d !important;
}

.dt-container .dt-paging-button.disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

/* =========================================
   TABLE FOOTER SELECT DROPDOWN (if shown)
   ========================================= */
.dt-container select {
  border: 1px solid #ffb84d;
  border-radius: 6px;
  padding: 4px 8px;
}

/* =========================================
   RESPONSIVE (MOBILE / TABLET)
   ========================================= */
@media (max-width: 768px) {
  .dt-container .dt-buttons,
  .dt-container .dt-search,
  .dt-container .dt-info,
  .dt-container .dt-paging {
    float: none !important;
    text-align: center !important;
    margin: 10px 0;
  }

  .dt-container .dt-button {
    margin-bottom: 6px !important;
  }
}

/* =========================================
   OPTIONAL TOOLBAR BACKGROUND (Soft Box)
   ========================================= */
.dt-container .dt-buttons,
.dt-container .dt-search {
  background: #fffaf2;
  padding: 10px 12px;
  border-radius: 8px;
  box-shadow: 0 1px 3px rgba(255, 184, 77, 0.25);
}

.page-id-7365 .dt-buttons {
	display: none;
}
/* org css for mobile and tab - end */