.bcom-session-modal { 
  text-align: center; 
  padding: 20px 30px; 
  font-family: "3MCircular", Arial, sans-serif; 
}

div.ui-dialog.bcom-session-dialog {
  z-index: 999999;
  position: fixed;

  top: 20px;
  left: 50%;
  transform: translateX(-50%);

  width: calc(100% - 32px);
  max-width: 620px;

  height: auto;
  max-height: calc(100vh - 40px);
  overflow-y: auto;

  display: block;
  padding: 20px;
  border-radius: 4px;
  box-sizing: border-box;
  background: #fff;
}

@media screen and (min-width: 768px) {
  div.ui-dialog.bcom-session-dialog {
    top: 50%;
    transform: translate(-50%, -50%);
    width: 620px;
    max-height: none;
    overflow: visible;
  }
}


.bcom-session-header {
  margin-bottom: 10px;
}

.mmm-timeout-icon img {
  max-width: 45px;
  margin-bottom: 10px;
}

.bcom-session-title {
  font-size: 22px;
  font-weight: 700;
  color: #000;
  line-height: 30px;
  text-align: center;
  font-family: "3MCircular", Arial, sans-serif;
}

.bcom-session-message {
  font-size: 14px;
  color: #555;
  padding: 10px;
  font-weight: 400;
  line-height: 22px;
  text-align: center;
}

.bcom-session-actions {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 20px;
  flex-wrap: nowrap;
}

.bcom-session-actions button,
.bcom-primary-btn,
.bcom-secondary-btn,
.bcom-session-actions .ui-button {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  width: auto !important;
  white-space: nowrap;
}

.bcom-primary-btn {
  background: #E1261C;
  color: #fff;
  border: none;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  min-width: 90px;
  height: 45px;
  font-weight: 700;
  font-family: "3MCircular", Arial, sans-serif;
}

.bcom-secondary-btn {
  background: #fff;
  color: #333;
  border: 1px solid #333;
  padding: 0 20px;
  border-radius: 2px;
  font-size: 16px;
  cursor: pointer;
  min-width: 90px;
  height: 45px;
  font-weight: 700;
  font-family: "3MCircular", Arial, sans-serif;
}

.bcom-primary-btn:hover {
  background: #C71F17;
}

.bcom-secondary-btn:hover {
  border-color: #666;
}

.bcom-session-dialog.ui-dialog {
  z-index: 999999 !important;
}

.bcom-session-dialog .ui-dialog-content {
  overflow-y: auto;
}

.ui-widget-content {
  background-color: #fff !important;
}

.bcom-primary-btn,
.bcom-secondary-btn {
  line-height: 1.2;
  text-align: center;
}

@media screen and (max-width: 767px) {
  .bcom-session-actions {
    flex-wrap: wrap;
  }

  .bcom-primary-btn,
  .bcom-secondary-btn {
    white-space: normal;
    word-break: break-word;
    min-width: auto;
    width: 100%;
    height: auto;
    padding: 12px 16px;
  }
  
  .bcom-session-actions .ui-button {
    width: 100% !important;
  }
}

