@import url("menu.css");
@import url("colors.css");
@import url("/includes/uimode/uimode.css");

/* Custom Checkbox Component */
.custom-checkbox-wrapper {
  display: inline-block;
  margin: 0.5rem 0;
}

.custom-checkbox-input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.custom-checkbox-label {
  display: flex;
  align-items: center;
  cursor: pointer;
  user-select: none;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  transition: all 0.2s ease;
}

.custom-checkbox-label:hover {
  color: #227b18;
}

.custom-checkbox-box {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border: 2px solid #d1d5db;
  border-radius: 4px;
  background-color: #ffffff;
  margin-right: 8px;
  transition: all 0.2s ease;
  flex-shrink: 0;
}

.custom-checkbox-input:checked+.custom-checkbox-label .custom-checkbox-box {
  background-color: #227b18;
  border-color: #227b18;
}

.custom-checkbox-input:focus+.custom-checkbox-label .custom-checkbox-box {
  outline: 2px solid #227b18;
  outline-offset: 2px;
}

.custom-checkbox-input:hover+.custom-checkbox-label .custom-checkbox-box {
  border-color: #227b18;
}

.custom-checkbox-icon {
  width: 16px;
  height: 16px;
  color: white;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.2s ease;
}

.custom-checkbox-input:checked+.custom-checkbox-label .custom-checkbox-icon {
  opacity: 1;
  transform: scale(1);
}

.custom-checkbox-text {
  flex: 1;
}

/* Responsividade */
@media (max-width: 768px) {
  .custom-checkbox-label {
    font-size: 16px;
  }

  .custom-checkbox-box {
    width: 22px;
    height: 22px;
  }

  .custom-checkbox-icon {
    width: 14px;
    height: 14px;
  }
}

/* Estados de acessibilidade */
.custom-checkbox-input:disabled+.custom-checkbox-label {
  opacity: 0.6;
  cursor: not-allowed;
}

.custom-checkbox-input:disabled+.custom-checkbox-label .custom-checkbox-box {
  background-color: #f3f4f6;
  border-color: #d1d5db;
}

/* Animação suave para mudanças de estado */
.custom-checkbox-box,
.custom-checkbox-icon {
  will-change: transform, opacity, background-color, border-color;
}

body {
  display: none;
  background-color: var(--background) !important;
}

.align-bottom {
  vertical-align: bottom;
}

.align-top {
  vertical-align: top;
}

.rounded-photo {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 48px;
  height: 48px;
  box-shadow: inset 2px 2px 5px black;
}

.rounded-photo-pill {
  border-top-left-radius: 30px;
  border-bottom-left-radius: 30px;
}

.painel-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.75rem;
  border: 1px solid var(--gray-300);
  height: 100% !important;
  overflow: hidden;
}

.painel-box-top {
  border-left: 1px solid var(--gray-300);
  border-top: 1px solid var(--gray-300);
  border-right: 1px solid var(--gray-300);
  border-bottom: 0;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}

.qrleads-navbar {
  width: 100vw !important;
  height: 50px !important;
  position: fixed !important;
  color: white !important;
  background-color: var(--green-400) !important;
  top: 0 !important;
  right: 0 !important;
  left: 0 !important;
  z-index: 1030 !important;
}

.qrleads-content {
  color: var(--gray-100) !important;
  margin-top: 60px !important;
  top: 60px !important;
  height: 100% !important;
  min-height: 100vh !important;
  width: 100vw !important;
  max-width: 100vw !important;
}

h1 {
  color: var(--green-400) !important;
}

h2 {
  color: var(--gray-100) !important;
}

.vertical-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
}

.pointer {
  cursor: pointer !important;
}

.toggle-handle.btn.btn-default {
  background-color: #f8f9fa !important;
  border-color: #f8f9fa !important;
}

.profile-nome {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.5rem !important;
  font-weight: 400 !important;
  font-style: italic !important;
}

.profile-cargo {
  font-family: 'Inter', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 300 !important;
  font-style: italic !important;
}

.profile-since {
  font-family: 'Inter', sans-serif !important;
  font-size: .75rem !important;
  font-weight: 400 !important;
}

.border-top-thin {
  border-top: 0.5px solid !important;
}