/* modal-and-ui-components.css */

.dashboard-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: blue;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  overflow: auto;
}

.dashboard-modal-content {
  position: relative;
  background: #fff;
  border-radius: 8px;
  max-width: 800px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
  max-height: 95vh;
  width: 90vw;
  overflow-y: auto;
  padding: 20px;
}

.modal-close-wrapper {
  position: sticky;
  top: 0px;
  display: flex;
  justify-content: flex-end;
  width: 100%;
  z-index: 1100;
  margin-bottom: -10px;
}

.close-popup {
  background: white;
  border: none;
  font-size: 20px;
  color: #333;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  cursor: pointer;
}

#close-success-popup {
  position: absolute;
  top: 10px;
  right: 10px;
}

.modal-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 10px;
  background: inherit;
  z-index: 1000;
}

.dashboard-modal-lines p {
  margin: 4px 0;
  color: #555;
  text-align: left;
}

.dashboard-modal-header {
  position: relative;
}

.modal-lines p {
  font-size: 14px;
}

.dashboard-modal-header h2,
.dashboard-modal-header h3 {
  text-align: center;
}

.close-popup:hover {
  background: #f0f0f0;
  color: #007bff;
}

#calendar {
  width: 100%;
  margin: 0 auto;
  table-layout: fixed;
  border-collapse: collapse;
}

.calendar-available {
  text-align: center;
  padding: 10px;
}

.pay-button {
  position: fixed;
  top: 150px;
  right: 10px;
  z-index: 1000;
  background-color: #007bff;
  color: #fff;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  font-size: 14px;
}

.pay-button:hover {
  background-color: #0056b3;
}

.modal-content {
  background-color: white;
  padding: 20px;
}

.std-button {
  border-radius: 5px;
  background-color: #007bff;
  color: white;
  padding: 6px;
  width: 100%;
  margin: 20px;
}

button.processing {
  background-color: white;
  color: red;
  border: 1px solid red;
}

button.processing .dots {
  animation: blinking 1s infinite;
}

button:hover {
  background-color: #0056b3;
}

.main {
  text-align: center;
}

.social-login-buttons {
  display: inline-block;
}

.social-login-buttons .nextend-social-login-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.button.facebook,
.button.twitter {
  display: inline-block;
  padding: 10px 20px;
  color: #fff;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
  font-weight: bold;
}

.button.facebook {
  background-color: #3b5998;
}

.button.facebook:hover {
  background-color: #314e86;
}

.button.twitter {
  background-color: #000;
}

.button.twitter:hover {
  background-color: #333;
}

.login-button-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.login-btn {
  padding: 10px 20px;
  font-size: 16px;
  border: none;
  border-radius: 5px;
  background-color: #007bff;
  color: #fff;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.login-btn:hover {
  background-color: #0056b3;
}

.button-note {
  font-size: 0.9em;
  color: #666;
  margin-top: 2px;
  text-align: center;
}

.fullwidth-blue {
  display: block;
  width: 100%;
  margin-top: 20px;
  background-color: #0073aa;
  color: #fff;
  border: none;
  padding: 10px 16px;
  text-align: center;
  font-size: 16px;
  border-radius: 4px;
  cursor: pointer;
}

.fullwidth-blue:hover {
  background-color: #005d8c;
}

.blue-button {
  color: white;
  font-size: 20px;
  background-color: #345eeb;
  display: block;
  margin: 0 auto;
  transition: background-color 0.2s ease;
  padding: 12px 22px;
  border-radius: 12px;
}

.blue-button:hover {
  background-color: #20398c;
}

.red-button {
  color: white;
  font-size: 20px;
  background-color: #fc3a3a;
  display: block;
  margin: 0 auto;
  transition: background-color 0.2s ease;
  padding: 12px 22px;
  border-radius: 12px;
}

.red-button:hover {
  background-color: #c22b2b;
}

.engagement-confirmed-message {
  color: red;
  font-weight: bold;
  margin-top: 10px;
  text-align: center;
}

.engagement-confirmation-box {
  padding: 20px;
  background: #e6ffe6;
  border: 1px solid #b3ffb3;
  color: #1b4f1b;
  text-align: center;
}
