/* Event Registration Modal Styling */
.registration-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 1.5rem;
  margin-top: 1.5rem;
}

/* Fix event details alignment - remove margins */
.event-details .row .col-4 {
  margin: 0 !important;
  padding: 0 15px;
}

.event-details .row .col-4:first-child {
  padding-left: 0;
}

.event-details .row .col-4:last-child {
  padding-right: 0;
}

.event-details .row .col-4 strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
  font-weight: 600;
}

.registration-header {
  background: rgba(192, 29, 102, 0.1);
  border: 1px solid rgba(192, 29, 102, 0.3);
  border-radius: 6px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.registration-header h6 {
  color: #fff;
  margin: 0;
  font-weight: 600;
  font-size: 0.9rem;
}

.registration-form .form-group {
  margin-bottom: 1rem;
}

.registration-form label {
  color: #fff;
  font-weight: 500;
  margin-bottom: 0.5rem;
  display: block;
}

.registration-form .form-control {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 4px;
  color: #333;
  padding: 0.5rem 0.75rem;
  width: 100%;
}

.registration-form .form-control:focus {
  background: #fff;
  border-color: #c01d66;
  color: #333;
  box-shadow: 0 0 0 0.2rem rgba(192, 29, 102, 0.25);
}

.registration-form .form-control::placeholder {
  color: #666;
}

.registration-form .form-text {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  margin-top: 0.25rem;
}

.registration-form .form-check {
  margin-bottom: 0.75rem;
}

.registration-form .form-check-input {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.registration-form .form-check-input:checked {
  background: #c01d66;
  border-color: #c01d66;
}

.registration-form .form-check-label {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.85rem;
  line-height: 1.4;
}

.registration-form .form-check-label a {
  color: #c01d66;
  text-decoration: underline;
}

.registration-form .form-check-label a:hover {
  color: #a01750;
}

.register-btn {
  background: linear-gradient(135deg, #c01d66 0%, #d76032 100%);
  border: none;
  border-radius: 6px;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  color: #fff;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.register-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(192, 29, 102, 0.4);
  background: linear-gradient(135deg, #a01750 0%, #c2451f 100%);
}

.register-btn:active {
  transform: translateY(0);
}

.register-btn i {
  font-size: 1rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .registration-box {
    padding: 1rem;
  }

  .registration-header {
    padding: 0.75rem;
  }

  .registration-header h6 {
    font-size: 0.8rem;
  }

  .register-btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.8rem;
  }
}

/* Already registered state */
.btn-secondary:disabled,
.btn-secondary[disabled] {
  background: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
  cursor: not-allowed !important;
  opacity: 0.65;
}

.btn-secondary:disabled:hover,
.btn-secondary[disabled]:hover {
  background: #6c757d !important;
  border-color: #6c757d !important;
  color: #fff !important;
  transform: none !important;
  box-shadow: none !important;
}

.text-muted {
  color: #6c757d !important;
}

/* Already registered users in dropdown */
.user-dropdown-item.already-registered {
  background-color: rgba(25, 135, 84, 0.1);
  border-left: 3px solid #198754;
  opacity: 0.9;
}

.user-dropdown-item.already-registered .user-name {
  color: #0f5132;
}

.user-dropdown-item.already-registered .user-nickname,
.user-dropdown-item.already-registered .user-meta {
  color: #6c757d;
}

.user-dropdown-item.already-registered .badge.bg-warning {
  background-color: #198754 !important;
  color: #fff !important;
}