.copy-to-clipboard {
    cursor: pointer;
    transition: transform 0.2s;
}

.copy-to-clipboard.clicked {
    animation: clickEffect 0.3s;
}

@keyframes clickEffect {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
    }
}

/*.bg-colored {*/
/*  background-color: #e6ccff;*/
/*}*/

.password-group {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input {
  padding-right: 40px; /* Space for the icon inside the input */
}

.password-eyed-field-icon {
  position: absolute;
  right: 10px; /* Adjust horizontal position */
  top: 50%;
  transform: translateY(-50%);
  background: url(../images/eye-crossed.svg) no-repeat center;
  background-size: contain;
  width: 16px;
  height: 16px;
  cursor: pointer;
  z-index: 10; /* Ensure it's always visible */
  display: block;
}

.password-eyed-field-icon--selected {
  background: url(../images/eye-visible.svg) no-repeat center;
  background-size: contain;
}

ul.panel-ul-active {
  display: block;
}

/* Note: Safari-compatible select styling moved to global.css for project-wide consistency */

/* Spacing between icon and title in panel headers (Dashboard cards) */
/* Override SmartAdmin's .panel-icon requirement - apply to ALL icons in panel headers */
.panel-hdr h2 i,
.panel-hdr h2 > i,
.panel-hdr h2 i[class*="fa"],
div.panel-hdr h2 i {
  margin-right: 0.5rem !important;
}

/* Also ensure text after icon has proper spacing */
.panel-hdr h2 i + * {
  margin-left: 0 !important;
}

/* Sidebar nav accessibility: WCAG AA contrast fixes on #584475 background
   nav-title was #8268a8 (~1.8:1), links were #bdafd1 (~4.1:1) — both fail 4.5:1 */
.nav-title {
  color: #d4c8e4; /* ~5.3:1 on #584475 */
}
.nav-menu li a {
  color: #cdc3de; /* ~5.0:1 on #584475 */
}
.nav-menu li a > [class*='fa-'],
.nav-menu li a > .ni {
  color: #cdc3de;
}