@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@400;500;600&family=Source+Code+Pro:wght@400;600&display=swap");

/* ============================
   RESET & BASE
============================ */
html, body {
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-size: 12px;
  font-family: "Inter", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-weight: 500;
  line-height: 1.4;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  overscroll-behavior: none;
  -webkit-text-size-adjust: 100%;
}

/* overflow-x on body only (html + body both hidden creates nested scrollers
   and breaks position: sticky). clip does not create a scroll container. */
body {
  overflow-x: hidden;
}
@supports (overflow-x: clip) {
  body { overflow-x: clip; }
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* Scrollbar */
*::-webkit-scrollbar {
  width: 3px;
  height: 3px;
}
*::-webkit-scrollbar-track {
  border-radius: 10px;
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
}
*::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
  box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
}
*::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(0, 0, 0, 0.2);
}

/* Media */
video {
  display: block;
  max-width: 100%;
  height: auto;
}

a, button {
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
}
a.disabled {
  pointer-events: none;
  cursor: default;
}

.fa {
  transform: translateZ(0) !important;
  will-change: auto !important;
}

/* ============================
   STICKY HEADER
============================ */
header {
  position: sticky;
  top: 0;
  z-index: 9999;
}

/* ============================
   SIDEBAR
============================ */
#page-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  height: 100dvh;            /* correct height with mobile browser bars */
  overflow-y: auto;
  overflow-x: hidden;
  background: #1f2937;
  z-index: 9999 !important;
  will-change: transform;
  backface-visibility: hidden;
  animation: none !important;
  transition: none !important;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
#page-sidebar::-webkit-scrollbar {
  display: none;
}
#page-sidebar * {
  animation: none !important;
  transform: none !important;
  transition: none !important;
}

@media screen and (max-width: 768px) {
  #page-sidebar {
    position: relative;
    width: 100%;
    height: auto;
  }
}

/* ============================
   UTILITIES
============================ */
.font-size-11 { font-size: 11px; }
.font-size-20 { font-size: 20px !important; }

.h-200 {
  height: 200px;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}
.height-200 { height: 200px !important; }
.overflow-250 {
  height: 250px !important;
  overflow: auto;
}
.margin-top-minus-30 { margin-top: -35px !important; }
.shadow-none,
.ws-shadow-none { box-shadow: none !important; }
.button-height-32 {
  line-height: 16px;
  height: 32px !important;
}
.padding-ws-5px { padding-left: 5px; }
.padding-ws-5px-5px { padding: 5px; }
.font-weight-bold { color: #000000; }
.text-right-100 {
  display: block;
  float: right;
}
.bg-ws-color { background: #CBF5D8; }
.bg-ws-color-1 { background: #E3EAFA; }
.bg-color-light { background: #DBDBDB !important; }
.bg-color-success { background: #B4FACE !important; }

/* ============================
   IMAGES
   (global object-fit: cover removed; use .img-cover where cropping is wanted)
============================ */
img {
  display: block;
  max-width: 100%;
  height: auto;
  animation: none !important;
  transition: none !important;
  image-rendering: auto;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
.img-cover {
  width: 100%;
  height: 100%;
  object-fit: cover !important;
  object-position: center !important;
}

/* ============================
   AVATAR UPLOAD
============================ */
.avatar-upload {
  position: relative;
  max-width: 150px;
  margin: 10px auto;
}
.avatar-upload .avatar-edit {
  position: absolute;
  right: 12px;
  z-index: 1;
  top: 10px;
}
.avatar-upload .avatar-edit input {
  display: none;
}
.avatar-upload .avatar-edit input + label {
  display: inline-block;
  width: 34px;
  height: 34px;
  margin-bottom: 0;
  border-radius: 100%;
  background: #676666;
  border: 1px solid transparent;
  box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.12);
  cursor: pointer;
  font-weight: normal;
  transition: all 0.2s ease-in-out;
}
.avatar-upload .avatar-edit input + label:hover {
  background: #676666;
}
.avatar-upload .avatar-edit input + label:after {
  content: "\f030";
  font-family: 'FontAwesome';
  color: #fff;
  position: absolute;
  top: 8px;
  left: 0;
  right: 0;
  text-align: center;
  margin: auto;
}
.avatar-upload .avatar-preview {
  width: 125px;
  height: 125px;
  position: relative;
  border-radius: 100%;
}
.avatar-upload .avatar-preview > div {
  width: 100%;
  height: 100%;
  border-radius: 100%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
}
.avatar-preview .status-preview {
  position: absolute;
  display: block;
  font-size: 16px;
  width: 100%;
  height: 100%;
  text-align: center;
  border-radius: 100%;
  background-color: hsla(0, 0%, 0%, 0.4);
}
.avatar-preview .photoupload {
  margin-top: 36%;
  font-size: 25px;
  display: block;
}
.photoupload { color: #fff !important; }

/* ============================
   TABLES
============================ */
.table-td-img {
  width: 40px;
  height: 40px;
  border-radius: 20px;
}
.table-image tr td {
  vertical-align: middle !important;
}

/* Scroll horizontally so wide tables never push the page sideways */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
/* Let an open dropdown escape the scroll wrapper (desktop / when it fits).
   On phones prefer data-bs-popper-config='{"strategy":"fixed"}' on the toggle. */
.table-responsive:has(.dropdown-menu.show) {
  overflow: visible;
}
.table-responsive td {
  position: relative;
}
.dropdown-menu {
  z-index: 1050;
}

#table tr td .nav li a {
  font-size: 12px !important;
}

.table-input input {
  width: 100% !important;
  background: none !important;
  border: 0px !important;
}
.table-input select {
  width: 100%;
  background: none !important;
  border: 0px !important;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}
.table-input select::-ms-expand {
  display: none;
}

/* ============================
   FORMS
============================ */
.form-group-password {
  position: relative;
  display: block;
}
.toggle-password {
  position: absolute;
  right: 10px;
  font-size: 16px;
  top: 9px;
  opacity: 0.5;
  cursor: pointer;
}
.toggle-password:hover {
  opacity: 1;
}

.check {
  position: relative !important;
  float: left !important;
}
.textarea {
  padding: 5px 5px !important;
  border: 1px solid #5d6d7e !important;
}
.ws-textarea {
  padding: 5px 5px !important;
  border: 1px solid #D5D5D5 !important;
}
.radio-material {
  margin-top: 10px;
}
.input-group .form-control {
  height: 36px;
  border: 1px solid #eeebeb;
}
.form-check-input[type="checkbox"] {
  border-radius: .10em !important;
  height: 15px !important;
  width: 15px !important;
  font-weight: 400 !important;
}
.alert-dismissible .btn-close {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  padding: 1.10rem 1rem;
}

.labelcheck {
  margin-left: 27px;
  font-size: 12px;
  display: flex;
  margin-top: -24px;
}
.labelcheckIn {
  margin-left: 8px;
  font-size: 12px;
  color: #333;
}
.li-labelcheck {
  margin-left: 20px;
  font-size: 12px;
  display: flex;
  margin-top: -21px;
}
.li-list-group-item {
  position: relative;
  display: block;
  padding: 2px 8px;
  margin-bottom: -1px;
  background-color: #fff;
  border-radius: 0px !important;
}

input[type="checkbox"].custom-size {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 20px;
  height: 18px;
  border: 1px solid green;
  border-radius: 1px;
  cursor: pointer;
  position: relative;
  text-align: center;
}
input[type="checkbox"].custom-size:checked::after {
  content: "✓";
  color: #fff;
  left: 0px;
  top: 0px;
  border: 0px;
  border-radius: 1px;
  position: absolute;
  width: 19px;
  height: 18px;
  font-size: 16px;
  background: green;
}
select:focus option:checked {
  background-color: lightblue;
  color: black;
}

/* ============================
   SECTIONS / HEADINGS
============================ */
.section-padding-10 {
  float: left;
  width: 100%;
  height: 100%;
  padding-top: 5px;
  padding-bottom: 20px;
}
.section-padding-10 .title {
  margin-left: 5px;
  font-weight: 600;
}

.line-margin-bottom-20 {
  width: 100%;
  font-size: 12px;
  padding: 10px 0px;
  border-bottom: 1px solid #a0a3a5;
  margin-bottom: 20px;
  margin-top: 10px;
  display: block;
  font-weight: 600;
}
.line-margin-bottom-22 {
  width: 100%;
  font-size: 14px;
  padding: 10px 0px;
  border-bottom: 3px solid #a0a3a5;
  margin-bottom: 20px;
  margin-top: 10px;
  display: block;
  font-weight: 600;
}

/* ============================
   SPINNERS / LOADERS
============================ */
.spinner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50vh;
}
.spinner-modal {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 30vh;
}
.spinner-dropzone {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 20vh;
  border: 1px solid #eee;
}

#loading {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 50vh;
  width: 100%;
}
.loader {
  display: inline-block;
  width: 50px;
  height: 50px;
  border: 3px solid rgba(0, 83, 159, .3);
  border-radius: 50%;
  border-top-color: #00539f;
  animation: spin 1s ease-in-out infinite;
  -webkit-animation: spin 1s ease-in-out infinite;
}
@keyframes spin {
  to { transform: rotate(360deg); -webkit-transform: rotate(360deg); }
}
@-webkit-keyframes spin {
  to { -webkit-transform: rotate(360deg); }
}

/* Loading Roller (flattened: no Sass/nesting required) */
@keyframes lds-roller {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
.lds-roller {
  position: relative;
  display: inline-block;
  height: 64px;
  width: 64px;
}
.lds-roller div {
  animation: lds-roller 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
  transform-origin: 32px 32px;
}
.lds-roller div:after {
  position: absolute;
  display: block;
  background: #00539f;
  border-radius: 50%;
  content: " ";
  margin: -3px 0 0 -3px;
  height: 6px;
  width: 6px;
}
.lds-roller div:nth-child(1) { animation-delay: -0.036s; }
.lds-roller div:nth-child(1):after { top: 50px; left: 50px; }
.lds-roller div:nth-child(2) { animation-delay: -0.072s; }
.lds-roller div:nth-child(2):after { top: 54px; left: 45px; }
.lds-roller div:nth-child(3) { animation-delay: -0.108s; }
.lds-roller div:nth-child(3):after { top: 57px; left: 39px; }
.lds-roller div:nth-child(4) { animation-delay: -0.144s; }
.lds-roller div:nth-child(4):after { top: 58px; left: 32px; }
.lds-roller div:nth-child(5) { animation-delay: -0.18s; }
.lds-roller div:nth-child(5):after { top: 57px; left: 25px; }
.lds-roller div:nth-child(6) { animation-delay: -0.216s; }
.lds-roller div:nth-child(6):after { top: 54px; left: 19px; }
.lds-roller div:nth-child(7) { animation-delay: -0.252s; }
.lds-roller div:nth-child(7):after { top: 50px; left: 14px; }
.lds-roller div:nth-child(8) { animation-delay: -0.288s; }
.lds-roller div:nth-child(8):after { top: 45px; left: 10px; }

/* Dots circle spinner */
.dots-circle-spinner {
  display: inline-block;
  height: 1em;
  width: 1em;
  margin-right: 3px;
  line-height: 1;
  vertical-align: middle;
  border-radius: 1em;
  transition: all 150ms linear 0s;
  transform: scale(0);
  opacity: 0;
  box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em;
}
.dots-circle-spinner.loading {
  transform: scale(0.25);
  opacity: 1;
  -webkit-animation: 1.5s linear 150ms normal infinite forwards running dots-circle-rotation;
  animation: 1.5s linear 150ms normal infinite forwards running dots-circle-rotation;
}
@-webkit-keyframes dots-circle-rotation {
  100% { box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em; }
  87.5% { box-shadow: 2em 0em 0 -0.4375em, 1.41421356em 1.41421356em 0 -0.375em, 0em 2em 0 -0.3125em, -1.41421356em 1.41421356em 0 -0.25em, -2em 0em 0 -0.1875em, -1.41421356em -1.41421356em 0 -0.125em, 0em -2em 0 -0.0625em, 1.41421356em -1.41421356em 0 0em; }
  75%   { box-shadow: 2em 0em 0 -0.375em, 1.41421356em 1.41421356em 0 -0.3125em, 0em 2em 0 -0.25em, -1.41421356em 1.41421356em 0 -0.1875em, -2em 0em 0 -0.125em, -1.41421356em -1.41421356em 0 -0.0625em, 0em -2em 0 0em, 1.41421356em -1.41421356em 0 -0.4375em; }
  62.5% { box-shadow: 2em 0em 0 -0.3125em, 1.41421356em 1.41421356em 0 -0.25em, 0em 2em 0 -0.1875em, -1.41421356em 1.41421356em 0 -0.125em, -2em 0em 0 -0.0625em, -1.41421356em -1.41421356em 0 0em, 0em -2em 0 -0.4375em, 1.41421356em -1.41421356em 0 -0.375em; }
  50%   { box-shadow: 2em 0em 0 -0.25em, 1.41421356em 1.41421356em 0 -0.1875em, 0em 2em 0 -0.125em, -1.41421356em 1.41421356em 0 -0.0625em, -2em 0em 0 0em, -1.41421356em -1.41421356em 0 -0.4375em, 0em -2em 0 -0.375em, 1.41421356em -1.41421356em 0 -0.3125em; }
  37.5% { box-shadow: 2em 0em 0 -0.1875em, 1.41421356em 1.41421356em 0 -0.125em, 0em 2em 0 -0.0625em, -1.41421356em 1.41421356em 0 0em, -2em 0em 0 -0.4375em, -1.41421356em -1.41421356em 0 -0.375em, 0em -2em 0 -0.3125em, 1.41421356em -1.41421356em 0 -0.25em; }
  25%   { box-shadow: 2em 0em 0 -0.125em, 1.41421356em 1.41421356em 0 -0.0625em, 0em 2em 0 0em, -1.41421356em 1.41421356em 0 -0.4375em, -2em 0em 0 -0.375em, -1.41421356em -1.41421356em 0 -0.3125em, 0em -2em 0 -0.25em, 1.41421356em -1.41421356em 0 -0.1875em; }
  12.5% { box-shadow: 2em 0em 0 -0.0625em, 1.41421356em 1.41421356em 0 0em, 0em 2em 0 -0.4375em, -1.41421356em 1.41421356em 0 -0.375em, -2em 0em 0 -0.3125em, -1.41421356em -1.41421356em 0 -0.25em, 0em -2em 0 -0.1875em, 1.41421356em -1.41421356em 0 -0.125em; }
  0%    { box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em; }
}
@keyframes dots-circle-rotation {
  100% { box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em; }
  87.5% { box-shadow: 2em 0em 0 -0.4375em, 1.41421356em 1.41421356em 0 -0.375em, 0em 2em 0 -0.3125em, -1.41421356em 1.41421356em 0 -0.25em, -2em 0em 0 -0.1875em, -1.41421356em -1.41421356em 0 -0.125em, 0em -2em 0 -0.0625em, 1.41421356em -1.41421356em 0 0em; }
  75%   { box-shadow: 2em 0em 0 -0.375em, 1.41421356em 1.41421356em 0 -0.3125em, 0em 2em 0 -0.25em, -1.41421356em 1.41421356em 0 -0.1875em, -2em 0em 0 -0.125em, -1.41421356em -1.41421356em 0 -0.0625em, 0em -2em 0 0em, 1.41421356em -1.41421356em 0 -0.4375em; }
  62.5% { box-shadow: 2em 0em 0 -0.3125em, 1.41421356em 1.41421356em 0 -0.25em, 0em 2em 0 -0.1875em, -1.41421356em 1.41421356em 0 -0.125em, -2em 0em 0 -0.0625em, -1.41421356em -1.41421356em 0 0em, 0em -2em 0 -0.4375em, 1.41421356em -1.41421356em 0 -0.375em; }
  50%   { box-shadow: 2em 0em 0 -0.25em, 1.41421356em 1.41421356em 0 -0.1875em, 0em 2em 0 -0.125em, -1.41421356em 1.41421356em 0 -0.0625em, -2em 0em 0 0em, -1.41421356em -1.41421356em 0 -0.4375em, 0em -2em 0 -0.375em, 1.41421356em -1.41421356em 0 -0.3125em; }
  37.5% { box-shadow: 2em 0em 0 -0.1875em, 1.41421356em 1.41421356em 0 -0.125em, 0em 2em 0 -0.0625em, -1.41421356em 1.41421356em 0 0em, -2em 0em 0 -0.4375em, -1.41421356em -1.41421356em 0 -0.375em, 0em -2em 0 -0.3125em, 1.41421356em -1.41421356em 0 -0.25em; }
  25%   { box-shadow: 2em 0em 0 -0.125em, 1.41421356em 1.41421356em 0 -0.0625em, 0em 2em 0 0em, -1.41421356em 1.41421356em 0 -0.4375em, -2em 0em 0 -0.375em, -1.41421356em -1.41421356em 0 -0.3125em, 0em -2em 0 -0.25em, 1.41421356em -1.41421356em 0 -0.1875em; }
  12.5% { box-shadow: 2em 0em 0 -0.0625em, 1.41421356em 1.41421356em 0 0em, 0em 2em 0 -0.4375em, -1.41421356em 1.41421356em 0 -0.375em, -2em 0em 0 -0.3125em, -1.41421356em -1.41421356em 0 -0.25em, 0em -2em 0 -0.1875em, 1.41421356em -1.41421356em 0 -0.125em; }
  0%    { box-shadow: 2em 0em 0 0em, 1.41421356em 1.41421356em 0 -0.4375em, 0em 2em 0 -0.375em, -1.41421356em 1.41421356em 0 -0.3125em, -2em 0em 0 -0.25em, -1.41421356em -1.41421356em 0 -0.1875em, 0em -2em 0 -0.125em, 1.41421356em -1.41421356em 0 -0.0625em; }
}

/* ============================
   PLUGIN / TOOL TILES
============================ */
.ws-plugin {
  display: inline-block;
  margin-right: 2px;
  margin-bottom: 5px;
  position: relative;
}
.plugin-img,
.tools-img {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #D6D3D1;
  border: 1px solid #D6D3D1;
  border-radius: 4px;
  cursor: pointer;
  height: 70px;
  position: relative;
  transition: all .2s ease-in-out;
}
.plugin-img img {
  max-width: 50%;
  max-height: 40px;
  transition: all .2s ease-in-out;
}
.tools-img img {
  max-width: 50%;
  max-height: 60px;
  transition: all .2s ease-in-out;
}
.plugin-img:hover,
.tools-img:hover {
  border: 1px solid #F5E9E6;
  background: #F5E9E6;
}

.ws-plugin label input,
.ws-encryption label input {
  position: absolute;
  left: -9999px;
}
.ws-plugin label input:checked + span:before,
.ws-encryption label input:checked + span:before {
  box-shadow: inset 0 0 0 0.4375em #00005c;
}
.ws-plugin label span,
.ws-encryption label span {
  display: flex;
  align-items: center;
  padding: 0.375em 0.75em 0.375em 0.375em;
  border-radius: 99em;
  transition: 0.25s ease;
}
.ws-plugin label span:before,
.ws-encryption label span:before {
  display: flex;
  flex-shrink: 0;
  content: "";
  background-color: #fff;
  width: 1.5em;
  height: 1.5em;
  border-radius: 50%;
  margin-right: 0.375em;
  transition: 0.25s ease;
  box-shadow: inset 0 0 0 0.125em #00005c;
}
.ws-head-fa {
  padding: 18px 5px;
  font-size: 16px;
}

.note-toolbar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================
   GALLERY
============================ */
#gallery {
  line-height: 0;
  -webkit-column-count: 4;
  -webkit-column-gap: 2px;
  -moz-column-count: 4;
  -moz-column-gap: 2px;
  column-count: 4;
  column-gap: 2px;
}
#gallery img {
  width: 100% !important;
  height: auto !important;
}
#gallery img:hover {
  opacity: .7;
}
@media (max-width: 1200px) {
  #gallery { -moz-column-count: 4; -webkit-column-count: 4; column-count: 4; }
}
@media (max-width: 1000px) {
  #gallery { -moz-column-count: 3; -webkit-column-count: 3; column-count: 3; }
}
@media (max-width: 800px) {
  #gallery { -moz-column-count: 2; -webkit-column-count: 2; column-count: 2; }
}
@media (max-width: 400px) {
  #gallery { -moz-column-count: 1; -webkit-column-count: 1; column-count: 1; }
}

.image-box {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 5px;
  transition: transform 0.3s ease;
}
.image-box img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: filter 0.3s ease;
}
.image-box:hover img {
  filter: brightness(70%) blur(0.5px);
}
.hover-box {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  pointer-events: none;
  text-align: center;
}
.image-box:hover .hover-box {
  opacity: 1;
  pointer-events: all;
}
/* Touch devices have no hover: keep actions reachable */
@media (hover: none) {
  .hover-box {
    opacity: 1;
    pointer-events: all;
    background: rgba(0, 0, 0, 0.35);
  }
  .image-box:hover img { filter: none; }
}
.hover-content {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}
.hover-content .image-title {
  font-size: 0.9rem;
  font-weight: 500;
  color: #fff;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
  word-break: break-all;
}
.hover-actions {
  display: flex;
  gap: 10px;
}
.hover-actions button {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  border-radius: 2px;
  padding: 7px 9px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.3s ease;
}
.hover-actions button:hover { background: rgba(0, 255, 128, 0.4); }
.hover-actions .btn-remove:hover { background: rgba(255, 64, 64, 0.5); }
.hover-actions .btn-edit:hover { background: rgba(67, 255, 100, 0.85); }

/* ============================
   TOASTS
============================ */
.toast_container {
  font-family: 'Poppins', sans-serif;
  padding: 1rem;
  margin: 0 auto;
  width: 100%;
  height: auto;
  border-radius: 0.5rem;
  background-color: #eff2fb;
}
.btngp_container {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
#btnSuccess { background-color: #1bc5bd; border-color: #1bc5bd; }
#btnInfo    { background-color: #187de4; border-color: #187de4; }
#btnWarning { background-color: #ee9d01; border-color: #ee9d01; }
#btnError   { background-color: #ee2d41; border-color: #ee2d41; }
#btnSuccess, #btnInfo, #btnWarning, #btnError {
  color: #fff;
  border-radius: 0.5rem;
  font-weight: 400 !important;
  font-size: 0.765rem;
  width: 90px;
  height: 36px;
  margin: 3px;
  cursor: pointer;
}

.toast-success, .toast-info, .toast-warning, .toast-error {
  width: 310px !important;
  max-width: calc(100vw - 24px);
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  border-radius: 2px !important;
  background-color: #edf1fd;
  color: #01081e !important;
  border-color: transparent !important;
}

.closebtn {
  width: 25px;
  height: 25px;
  border-radius: 50%;
  font-size: 12px;
  background-color: #F77D63 !important;
}
.closebtn > i {
  color: #000617;
  font-weight: 500;
}

/* Toast icons: lightweight SVG replacements for the base64 PNGs.
   Swap your original url('data:image/png;base64,...') back in if you prefer. */
#toast-container > .toast-success {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13' fill='%231bc5bd'/%3E%3Cpath d='M8 14.5l4 4 8-9' fill='none' stroke='%23fff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") !important;
}
#toast-container > .toast-info {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13' fill='%23187de4'/%3E%3Ccircle cx='14' cy='8.5' r='1.7' fill='%23fff'/%3E%3Cpath d='M14 12.5v8' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}
#toast-container > .toast-warning {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Cpath d='M14 2L27 25H1z' fill='%23ee9d01' stroke='%23ee9d01' stroke-width='2' stroke-linejoin='round'/%3E%3Cpath d='M14 10v7' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'/%3E%3Ccircle cx='14' cy='21' r='1.5' fill='%23fff'/%3E%3C/svg%3E") !important;
}
#toast-container > .toast-error {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 28 28'%3E%3Ccircle cx='14' cy='14' r='13' fill='%23ee2d41'/%3E%3Cpath d='M9 9l10 10M19 9L9 19' stroke='%23fff' stroke-width='2.5' stroke-linecap='round'/%3E%3C/svg%3E") !important;
}

/* ============================
   MOBILE / RESPONSIVE
============================ */
@media screen and (max-width: 620px) {
  .table tr td { font-size: 11px !important; }
}

@media only screen and (max-width: 600px) {
  .panel .panel-body {
    padding: 0px 0px !important;
  }
  .section-padding-10 {
    box-shadow: none !important;
  }
  .section-padding-10 .title {
    font-weight: 400;
  }
  .radio-material {
    margin-top: 16px;
  }
}

/* Prevent iOS Safari auto-zoom on focus */
@media screen and (max-width: 768px) {
  input, select, textarea,
  .form-control, .form-select {
    font-size: 16px !important;
  }
  .input-group .form-control {
    height: 40px;
  }
}
