/* Styles for form elements in drawers */

/* Form field styling */
.p-fluid .field {
  margin-bottom: 1.5rem;
}

/* Form label styling */
.p-fluid label {
  font-weight: 600;
  font-size: 0.875rem;
  color: var(--text-color);
  margin-bottom: 0.5rem;
  display: block;
  font-family: var(--font-family);
}

/* Additional drawer styling - specific to forms */
.p-drawer {
  /* These styles complement the basic drawer styles in layout.scss */
  
  .p-drawer-header {
    padding: 1.5rem;
    font-weight: 700;
    font-size: 1.25rem;
    font-family: var(--font-family);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  }
  
  .p-drawer-content {
    padding: 1.5rem;
  }
  
  &.p-drawer-right {
    box-shadow: -2px 0 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Form input fields within drawers */
  .p-autocomplete,
  .p-inputtext,
  .p-select {
    width: 100%;
  }
}

/* Style to stabilize the overlays of selects */
.p-select-panel {
  transform: none !important;
  animation: none !important;
  transition: none !important;
}

.p-select-items .p-select-item:hover {
  transform: none !important;
  animation: none !important;
  transition: background-color 0.2s !important;
} 

input[type=checkbox].p-toggleswitch-input, input[type=radio].p-toggleswitch-input {
  width: 100% !important;
  height: 100% !important;
}