html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin: 0;
  overflow-y: hidden;
}

.container {
  margin: 2rem;
  padding: 1rem;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.15);
  background-color: white;
  border-radius: 8px;
  max-width: calc(100% - 4rem);
  height: calc(100vh - 4rem);
  overflow-y: auto;
}

#text-control-container {
  height: calc(100vh - 6rem);
  width: 100%;
}

.info-icon {
    position: fixed;
    top: 2.5rem;
    left: 2.5rem;
    width: 30px;
    height: 30px;
    background: linear-gradient(135deg, #51127f 0%, #e81683 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    z-index: 1000;
}

.info-icon:hover {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

.info-icon i {
  color: white;
  font-size: 22px;
}

.modal-content {
  border: none;
  border-radius: 16px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header {
    background: linear-gradient(135deg, #51127f 0%, #e81683 100%);
    color: white;
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom: none;
}

.modal-header .btn-close {
  filter: brightness(0) invert(1);
}

.modal-body {
  padding: 1.5rem;
}

.modal-body .table {
  margin-bottom: 0;
}

.modal-body .badge {
  font-weight: 500;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}