.dialog-content {
  display: flex;
  flex-direction: column;
  background: #eeeeee;
  border: 1px solid #c3c3c3;
  border-radius: 10px;
  align-items: center;
  padding: 20px 30px;
}
#errorPopupCollision {
  top: 25%;
  background: none;
  border: none;
  outline: none;
  animation: fadeIn 0.5s;
}
.dialog-button {
  padding: 2px 20px;
  font-family: Amelia Roboto, sans-serif;
  font-size: 14px;
  margin: 20px;
  background-color: #265CF2;
  color: #ffffff;
  border-radius: 6px;
  border: 1px solid #265CF2;
  padding: 8px 20px;
  cursor: pointer;
}
.dialog-button:hover {
  background-color: rgba(38,92,242, 0.8);
}
#errorPopupCollision > header {
}
#errorPopupCollision > header > #closeButton {
  cursor: pointer;
  top: 8px;
  right: 12px;
  background: transparent !important;
  border: none;
  position: absolute;
  /*font-family: amelia-icons !important;*/
  /*font-style: normal;*/
  /*font-weight: 400;*/
}
#errorPopupCollision > header > #closeButton:active {
  border: none;
  outline: 0;
}

#myConfirm {
  top: 25%;
  background: none;
  border: none;
  outline: none;
  animation: fadeIn 0.5s;
}
#noShowWarning {
  top: 25%;
  background: none;
  border: none;
  outline: none;
  animation: fadeIn 0.5s;
}
.dialog-content #text > b {
  font-weight: bold;
}
.dialog-content #footer {
  display: flex;
  width: 100%;
  justify-content: flex-end;
}
#btnCancel {
  background-color: #ff8888;
  border: 1px solid #ff8888;
}
#btnCancel:hover {
  background-color: rgba(255,136,146,0.8);
}


.wrap #date-switcher,
#date-switcher {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
}
.wrap #date-switcher > div,
#date-switcher > div {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  white-space: nowrap;
}

@keyframes fadeIn {
  from {opacity: 0; }
  to {opacity: 1; }
}

/*@media only screen and (max-width: 767px) {*/
  /*#errorPopupCollision {*/
    /*left: auto;*/
    /*right: auto;*/
    /*transform: translate(-15px);*/
  /*}*/
/*}*/

#bulkBookingDialog {
  padding: 0;
  border-radius: 6px;
  border: none;
  min-width: 560px;
  max-width: 600px;
  background: #fff;
  font-family: 'Amelia Roboto', 'Roboto', sans-serif;
  color: #354052;
  font-size: 16px;
  overflow: hidden;
  box-shadow: 0 4px 24px rgba(0,0,0,0.15);
}

#bulkBookingDialog::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

#bulkBookingDialog .el-dialog__header {
  padding: 24px 24px 0;
  position: relative;
}

#bulkBookingDialog .el-dialog__title {
  font-size: 18px;
  font-weight: 400;
  color: #354052;
  line-height: 24px;
}

#bulkBookingDialog .el-dialog__headerbtn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #1A84EE;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
  padding: 0;
}

#bulkBookingDialog .el-dialog__headerbtn .el-icon-close {
  color: #fff;
  font-size: 12px;
  font-style: normal;
  line-height: 1;
}

#bulkBookingDialog .el-dialog__body {
  padding: 24px;
}

#bulkBookingDialog .bulk-label {
  display: block;
  font-size: 16px;
  color: #7F8FA4;
  margin-bottom: 6px;
}

#bulkBookingDialog .el-input__inner {
  width: 100%;
  height: 40px;
  border-radius: 4px;
  border: 1px solid #E2E6EC;
  padding: 0 16px;
  font-family: 'Amelia Roboto', 'Roboto', sans-serif;
  font-size: 16px;
  color: #354052;
  background: #fff;
  box-sizing: border-box;
  margin-bottom: 16px;
}

#bulkBookingDialog .el-input__inner:focus {
  outline: none;
  border-color: #1A84EE;
}

#bulkCustomerList {
  max-height: 300px;
  overflow-y: auto;
  border: 1px solid #E2E6EC;
  border-radius: 4px;
  margin-bottom: 16px;
}

#bulkCustomerList ::-webkit-scrollbar {
  width: 6px;
}
#bulkCustomerList ::-webkit-scrollbar-thumb {
  border-radius: 6px;
  background: rgba(26,132,238, 0.3);
}
#bulkCustomerList ::-webkit-scrollbar-track {
  border-radius: 6px;
  background: rgba(26,132,238, 0.1);
}

#bulkCustomerList table {
  width: 100%;
  border-collapse: collapse;
}

#bulkCustomerList th {
  position: sticky;
  top: 0;
  z-index: 1;
  text-align: left;
  padding: 10px 12px;
  border-bottom: 2px solid #E2E6EC;
  font-size: 14px;
  color: #7F8FA4;
  font-weight: 400;
  background: #f2f3f5;
}

#bulkCustomerList td {
  padding: 10px 12px;
  border-bottom: 1px solid #E2E6EC;
  font-size: 14px;
  color: #354052;
}

#bulkCustomerList th:first-child,
#bulkCustomerList td:first-child {
  width: 40px;
  text-align: center;
}

.bulk-customer-item {
  cursor: pointer;
}

.bulk-customer-item:hover td {
  background: #f9f9f9;
}

.bulk-customer-item:has(input[type="checkbox"]:checked) td {
  background: #e8f4fd;
}

#bulkCustomerList input[type="checkbox"] {
  accent-color: #1A84EE;
  width: 16px;
  height: 16px;
  cursor: pointer;
}

#bulkBookingDialog .am-dialog-footer {
  border-top: 2px solid #E2E6EC;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

#bulkBookingDialog .el-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Amelia Roboto', 'Roboto', sans-serif;
  font-size: 14px;
  font-weight: 500;
  padding: 10px 20px;
  border-radius: 6px;
  cursor: pointer;
  border: 1px solid #E2E6EC;
  background: transparent;
  color: #354052;
  line-height: 1;
  transition: all 0.2s;
}

#bulkBookingDialog .el-button:hover {
  background: rgba(26,132,238, 0.1);
  color: #1A84EE;
  border-color: #1A84EE;
}

#bulkBookingDialog .el-button--primary {
  background: #1A84EE;
  border-color: #1A84EE;
  color: #fff;
}

#bulkBookingDialog .el-button--primary:hover {
  background: rgba(26,132,238, 0.85);
  border-color: #1A84EE;
  color: #fff;
}

#bulkBookingDialog .bulk-result {
  padding: 12px 0;
  font-size: 14px;
  font-weight: 500;
  color: #354052;
}

@media (max-width: 640px) {
  #bulkBookingDialog {
    position: absolute;
    top: 0;
    left: 0;
    margin: 0;
    min-width: unset;
    width: 100vw;
    max-width: 100vw;
    max-height: 100dvh;
    border-radius: 0;
    overflow-y: auto;
    font-size: 14px;
  }
  #bulkBookingDialog .el-dialog__header {
    padding: 16px 16px 0;
    border-bottom: 1px solid #E2E6EC;
  }
  #bulkBookingDialog .el-dialog__headerbtn {
    top: 14px;
    right: 14px;
    width: 20px;
    height: 20px;
  }
  #bulkBookingDialog .el-dialog__body {
    padding: 16px;
  }
  #bulkBookingDialog .am-dialog-footer {
    position: sticky;
    bottom: 0;
    background: #fff;
    padding: 12px 16px;
    border-top: 2px solid #E2E6EC;
    flex-wrap: wrap;
    gap: 6px;
  }
  #bulkBookingDialog .el-button {
    padding: 8px 14px;
    font-size: 13px;
  }
  #bulkCustomerList {
    max-height: none;
    overflow: visible;
  }
  .my-event-card {
    width: 100% !important;
  }
}
  #bulkCustomerList th,
  #bulkCustomerList td {
    padding: 8px 6px;
    font-size: 13px;
  }
  #bulkCustomerList th:nth-child(3),
  #bulkCustomerList td:nth-child(3) {
    display: none;
  }
  #bulkCustomerList th:first-child,
  #bulkCustomerList td:first-child {
    width: 30px;
  }

#eventListTable td.combined-cell {
  position: relative;
  padding: 0 0 0 36px;
  min-height: 36px;
}
.cell-left {
  position: absolute;
  top: 0; left: 0; bottom: 0;
  width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #eee;
}
.count-badge {
  font-weight: 700;
  font-size: 0.85em;
  text-align: center;
  line-height: 1.6;
}
.cell-names {
  padding: 4px 8px;
}
.waiting-name { color: #666; }

.my-events {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  gap: 16px;
  font-family: 'Amelia Roboto', 'Roboto', sans-serif;
}
.my-events-heading {
  font-family: 'Amelia Roboto', 'Roboto', sans-serif;
  color: #33434C;
  font-size: 30px;
  font-weight: 600;
  margin-bottom: 12px;
}
.my-event-card {
  border-radius: 8px;
  padding: 16px;
  background: #fff;
  box-shadow: 0 2px 3px rgba(26,44,55,0.1);
  width: calc(50% - 8px);
  box-sizing: border-box;
}
.my-event-card.card-past {
  background: #e8e8e8;
}
.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}
.event-name {
  font-weight: 600;
  font-size: 1em;
  color: #33434C;
}
.status-badge {
  font-size: 12px;
  padding: 0 10px;
  border-radius: 16px;
  font-weight: 500;
  height: 24px;
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
}
.status-approved { background: #e6f5e8; color: #019719; }
.status-pending  { background: #faf6e7; color: #CCA20C; }
.status-canceled,
.status-rejected { background: #fce8e7; color: #DC180B; }
.card-datetime {
  color: #808A90;
  font-size: 0.9em;
  margin-bottom: 12px;
}
.card-participants {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.participant-group strong {
  display: block;
  font-size: 0.85em;
  color: #33434C;
}
.participant-group span {
  font-size: 0.9em;
  color: #1A2C37;
}
.event-id-badge {
  font-weight: 700;
  font-size: 0.85em;
  color: #555;
  font-family: monospace;
}
