/* These styles are generated from project.scss. */

.alert-debug {
  color: black;
  background-color: white;
  border-color: #d6e9c6;
}

.alert-error {
  color: #b94a48;
  background-color: #f2dede;
  border-color: #eed3d7;
}

.account-frame {
  border:1px solid lightgray;
}

.style_reset * {
  all: revert;
}


/* The switch - the box around the slider */
.switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(20px);
  -ms-transform: translateX(20px);
  transform: translateX(20px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 24px;
}

.slider.round:before {
  border-radius: 50%;
}

/* summary icons swap */
summary {
  display: block;
}

summary::-webkit-details-marker {
  display: none;
}

summary .close-icon {
  display: none;
}

details[open] summary .open-icon {
  display: none;
}

details[open] summary .close-icon {
  display: inline-block;
}

/* scrollable fixed height table, eg trigger wizard recipients */
div .fixed-height-table {
  height: 20em;
  overflow-y: auto;
}


/* trigger wizard 2 */
.wizard-section {
  background-color: #EBF3FF;
}

.wizard-thumbnail {
  height:240px; 
  border-radius: 3px;
}

.modal-content, .modal-card {
  width: 960px; /* Pełna szerokość ekranu */
  max-width: 80vw; /* Ogranicz maksymalną szerokość */
  margin: 0 auto; /* Wyśrodkuj modal */
}

.thumbnail-image-container {
  position: relative;
  width: 100%;
  height: auto;
}

.thumbnail-image-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('/static/images/preview_overlay.png');
  background-size: auto;
  background-position: center;
  background-repeat: no-repeat;
}

.wizard-message {
  background-color: white;
}

.wizard-sms-message-content {
  max-height: 640px;
  max-width: 30em;
}

.wizard-mms-image-content {
  max-width: 30rem;
  overflow-y: auto;
}

.wizard-mms-message-content {
  max-height: 640px;
  max-width: 30rem;
}

.wizard-email-message-content {
  max-height: 640px;
  overflow-y: auto;
  min-width: 400px;
}
