/* Fix HairCheck UI issues */

/* Fix device controls being cut off at bottom - Mobile (less aggressive) */
.haircheckSidebarContent {
  padding-bottom: 3rem !important;
}

/* Ensure controls are visible with more spacing - target by attribute selector */
div[class*="haircheckControls"] {
  margin-bottom: 1.5rem !important;
  padding-bottom: 0.5rem !important;
}

/* Desktop: More padding needed since sidebar is vertical */
@media (min-width: 768px) {
  .haircheckSidebarContent {
    padding-bottom: 5rem !important;
  }

  /* Target the controls container directly */
  div[class*="haircheckControls"] {
    margin-bottom: 3rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* Extra safety: ensure controls don't overflow */
.haircheckSidebar {
  overflow-y: auto !important;
}

/* More specific override for device buttons container */
div[class*="deviceButtonContainer"] {
  margin-bottom: 0.5rem !important;
}

/* Fix Join Video Chat button - make inner match outer border */
.buttonJoin {
  padding: 4px !important;
  width: 100%;
  max-width: 16rem;
}

.buttonJoinInner {
  width: 100% !important;
  min-width: 12rem !important;
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

@media (min-width: 768px) {
  .buttonJoinDesktop {
    width: 100%;
  }
}
