/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */


.wp-editor-wrap {
  position: relative;
  width: 50%;
}

.wp-editor-area {
  width: 100% !important; /* Ensure the textarea inside takes full width */
}
.send-mail {
  display: none; /* Hide by default */
}

.send-mail.loading {
  display: block; /* Show when loading */
  /* Additional styles for positioning, etc. */
}

.success-message {
  color: green;
}
.error-message {
  color: red;
}

.all-data .alignleft.actions.all-pub {
  margin: 10px 0;
}
.all-data .all-pub a {
  line-height: 2;
  padding: 0.2em;
  text-decoration: none;
}
.all-data .all-pub a.current {
  color: #000;
  font-weight: 600;
}
.loader-container {
  position: fixed;
  top: 0;
  background: rgb(0 0 0 / 50%);
  height: 100%;
  width: 100%;
  left: 0;
  display: none;
}
.round-loader {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
  background: #2b3b53;
  margin: 0 auto;
  text-align: center;
  width: 250px;
  height: 250px;
  border-radius: 50%;
}
.round-inner {
  position: absolute;
  left: 0;
  right: 0;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  -webkit-transform: translateY(-50%);
}
.round-loader img {
  max-width: 50px;
  display: block;
  margin: 0 auto 10px;
}
.message-container {
  color: #fff;
  font-weight: 700;
}
.border-spinner {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  animation: spin 5s linear infinite;
  border: 15px solid #0693e3;
  border-top: 15px solid #fff;
  border-bottom: 15px solid #fff;
  animation: spin 5s linear infinite;
  box-sizing: border-box;
}
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.full-info h2 {
  text-align: left;
  margin: 40px 0 0 0;
  font-size: 2em;
  color: #272b30;
}
.full-info .container {
  display: flex;
  flex-wrap: wrap;
  margin: 20px 0;
  max-width: 80%;
}
.field {
  word-wrap: break-word;
  flex: 1 1 45%;
  margin: 10px 10px 10px 0;
  padding: 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  background-color: #f9f9f9;
  display: flex;
  align-items: center;
  align-items: normal;
}
.full-info .label {
  font-weight: bold;
  color: #000;
  background-color: #c3c4c7;
  padding: 15px;
  border-radius: 5px 0 0 5px;
  flex: 0 0 30%;
  box-sizing: border-box;
}
.text {
  background-color: #e1e1e1;
  padding: 15px;
  border-radius: 0 5px 5px 0;
  flex: 1;
  word-break: break-all;
  word-wrap: break-word;
  text-align: justify;
}
p.client-log-updated {
  text-align: center;
  padding: 10px 20px;
  background-color: #b7e3be;
  width: auto;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
}
.wm-report_page_websmare-add-record p#error {
  text-align: center;
  padding: 10px 20px;
  background-color: #e78788;
  width: auto;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  display: none;
}
.toplevel_page_websmare_report .check-column input[type='checkbox'] {
  z-index: 0;
}
/* Ensure Select2 box uses full width */
.select2-container {
	width: 32% !important;
}

/* Optional: make tag-style selections (multi-select items) display nicer */
.select2-selection__choice {
	max-width: 100%;
	white-space: normal !important;
	overflow: visible !important;
	text-overflow: initial;
}

@media screen and (max-width: 1400px) {
  .full-info .container {
    max-width: 100%;
  }
}
