.spin-animation {
    -webkit-animation: rotation 2s infinite linear;
    animation: rotation 2s infinite linear;
}

@-webkit-keyframes rotation {
    from {
        -webkit-transform: rotate(0deg);
    }
    to {
        -webkit-transform: rotate(359deg);
    }
}

@keyframes rotation {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(359deg);
    }
}

#sideMenu {
    -webkit-transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    -moz-transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    -o-transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
    transition: width 0.3s ease, height 0.3s ease, margin 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
}

#sidebarCollapse {
    margin-top: 30px;
    margin-left: -50px;
    height: 40px;
}

#sidebarCollapse:hover {
    background-color: #ffffff;
}

#sidebarCollapse:focus {
    background-color: #ffffff;
}

#sidebarCollapse .affix {
    position: static;
}

#sidebarCollapse.affix {
    position: fixed;
    top: 50px;
}

.disabledControl {
    pointer-events:none;
    opacity:0.6;
}

/* Password Requirements Validation Styles */
.password-requirements {
  margin-top: 10px;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #f9f9f9;
}

.requirement-item {
  margin: 5px 0;
  display: flex;
  align-items: flex-start;
}

.requirement-item .icon {
  margin-right: 8px;
  font-weight: bold;
  width: 20px;
  flex-shrink: 0;
  margin-top: 2px;
}

.requirement-item .requirement-text {
  flex: 1;
  line-height: 1.4;
}

.requirement-item.met {
  color: #28a745;
}

.requirement-item.met .icon {
  color: #28a745;
  font-size: 16px;
}

.requirement-item.unmet {
  color: #dc3545;
}

.requirement-item.unmet .icon {
  color: #dc3545;
  font-size: 16px;
}

/* Static informational message styling */
.requirement-item.info {
  color: #6c757d;
}

.requirement-item.info .icon {
  color: #17a2b8;
  font-size: 16px;
}

.symbol-examples {
  font-size: 12px;
  color: #6c757d;
  margin-top: 2px;
}

.form-control.enhanced.valid {
  border-color: #28a745;
  box-shadow: 0 0 0 0.2rem rgba(40, 167, 69, 0.25);
}

.form-control.enhanced.invalid {
  border-color: #dc3545;
  box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}

/* Password input container and eye button styles */
.password-input-container {
  position: relative;
  display: flex;
  align-items: center;
}

.password-input {
  flex: 1;
  padding-right: 40px;
}

.eye-toggle-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  cursor: pointer;
  font-size: 18px;
  padding: 5px;
  color: #6c757d;
  z-index: 10;
}

.eye-toggle-btn:hover {
  color: #495057;
}

.eye-toggle-btn:focus {
  outline: none;
}

.panel-heading > a:focus,
.panel-heading > a:active {
  outline: none;
}

/* Disabled submit button styling */
.btn:disabled,
.btn[disabled] {
  background-color: #6c757d !important;
  border-color: #6c757d !important;
  color: #ffffff !important;
  cursor: not-allowed !important;
  opacity: 0.65;
}
