/* ===============================
   CESIUM BIM VIEWER - COMPLETE MODERN STYLES v3.0
   Minimalist Design with InfoBox Fix
   =============================== */

/* ===============================
   RESET & BASE
   =============================== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', sans-serif;
  overflow: hidden;
}

#cesiumContainer {
  width: 100vw;
  height: 100vh;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* ===============================
   MODERN TOOLBAR
   =============================== */
#toolbar {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 340px;
  max-height: calc(100vh - 20px);
  background: rgba(26, 32, 44, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  z-index: 100;
  font-size: 14px;
  color: #e2e8f0;
}

#toolbar::-webkit-scrollbar {
  width: 6px;
}

#toolbar::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 3px;
}

#toolbar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

#toolbar::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

/* ===============================
   HEADER
   =============================== */
.modern-header {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 20px;
  border-radius: 12px 12px 0 0;
  margin-bottom: 8px;
}

.modern-header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modern-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modern-logo-icon {
  font-size: 32px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.2));
}

.modern-logo-text {
  display: flex;
  flex-direction: column;
}

.modern-logo-title {
  font-size: 18px;
  font-weight: 700;
  color: white;
  letter-spacing: 0.5px;
}

.modern-logo-subtitle {
  font-size: 11px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ===============================
   COLLAPSIBLE SECTIONS
   =============================== */
.modern-section {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-section:last-child {
  border-bottom: none;
}

.modern-section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.modern-section-header:hover {
  background: rgba(255, 255, 255, 0.05);
}

.modern-section-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  font-size: 15px;
  color: #e2e8f0;
}

.modern-section-icon {
  font-size: 18px;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.3));
}

.modern-section-toggle {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  transition: transform 0.2s ease;
}

.modern-section-content {
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-section-content.expanded {
  max-height: 2000px;
  padding: 0 20px 16px 20px;
  opacity: 1;
}

.modern-section-content.collapsed {
  max-height: 0;
  padding: 0 20px;
  opacity: 0;
}

/* ===============================
   BUTTONS
   =============================== */
.modern-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
  overflow: hidden;
}

.modern-btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.modern-btn:hover::before {
  width: 300px;
  height: 300px;
}

.modern-btn:active {
  transform: scale(0.98);
}

.modern-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.modern-btn-icon {
  font-size: 16px;
  position: relative;
  z-index: 1;
}

.modern-btn span {
  position: relative;
  z-index: 1;
}

/* Button variants */
.modern-btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.modern-btn-primary:hover {
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4);
  transform: translateY(-1px);
}

.modern-btn-success {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(17, 153, 142, 0.3);
}

.modern-btn-success:hover {
  box-shadow: 0 6px 16px rgba(17, 153, 142, 0.4);
  transform: translateY(-1px);
}

.modern-btn-danger {
  background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(238, 9, 121, 0.3);
}

.modern-btn-danger:hover {
  box-shadow: 0 6px 16px rgba(238, 9, 121, 0.4);
  transform: translateY(-1px);
}

.modern-btn-accent {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
  color: white;
  box-shadow: 0 4px 12px rgba(240, 147, 251, 0.3);
}

.modern-btn-accent:hover {
  box-shadow: 0 6px 16px rgba(240, 147, 251, 0.4);
  transform: translateY(-1px);
}

.modern-btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modern-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
}

/* Toggle button */
.modern-toggle-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  color: rgba(255, 255, 255, 0.7);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modern-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
  color: rgba(255, 255, 255, 0.9);
}

.modern-toggle-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: #667eea;
  color: white;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

/* Icon button */
.modern-icon-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modern-icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.modern-icon-btn-danger:hover {
  background: #ee0979;
}

/* ===============================
   INPUTS
   =============================== */
.modern-input,
.modern-select {
  width: 100%;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  color: #e2e8f0;
  font-size: 14px;
  transition: all 0.2s ease;
}

.modern-input:focus,
.modern-select:focus {
  outline: none;
  background: rgba(255, 255, 255, 0.08);
  border-color: #667eea;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.modern-input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.modern-select option {
  background: #1a202c;
  color: #e2e8f0;
}

/* Slider */
.modern-slider,
.modern-slider-small {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.modern-slider::-webkit-slider-thumb,
.modern-slider-small::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.modern-slider::-webkit-slider-thumb:hover,
.modern-slider-small::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.5);
}

/* ===============================
   GROUPS & LAYOUT
   =============================== */
.modern-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.modern-group:last-child {
  margin-bottom: 0;
}

/* ===============================
   LABELS & TEXT
   =============================== */
.modern-label {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.modern-label-small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.modern-value,
.modern-value-small {
  font-size: 12px;
  color: #667eea;
  font-weight: 600;
}

.modern-status {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

/* ===============================
   DIVIDER
   =============================== */
.modern-divider {
  display: flex;
  align-items: center;
  margin: 16px 0;
  color: rgba(255, 255, 255, 0.3);
}

.modern-divider::before,
.modern-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.modern-divider-text {
  padding: 0 12px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===============================
   BADGES
   =============================== */
.modern-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  height: 20px;
  padding: 0 6px;
  background: #ee0979;
  color: white;
  font-size: 11px;
  font-weight: 700;
  border-radius: 10px;
  box-shadow: 0 2px 6px rgba(238, 9, 121, 0.3);
}

/* ===============================
   INFO BOXES & HINTS
   =============================== */
.modern-info-box {
  background: rgba(102, 126, 234, 0.1);
  border: 1px solid rgba(102, 126, 234, 0.3);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 12px;
}

.modern-hint {
  background: rgba(255, 255, 255, 0.05);
  border-left: 3px solid #667eea;
  padding: 10px 12px;
  border-radius: 4px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
}

.modern-hint strong {
  color: #667eea;
  font-weight: 600;
}

/* ===============================
   LISTS
   =============================== */
.modern-assets-list,
.modern-comments-list,
.modern-hidden-list,
.modern-views-list {
  max-height: 300px;
  overflow-y: auto;
  padding-right: 4px;
}

.modern-assets-list::-webkit-scrollbar,
.modern-comments-list::-webkit-scrollbar,
.modern-hidden-list::-webkit-scrollbar,
.modern-views-list::-webkit-scrollbar {
  width: 4px;
}

.modern-assets-list::-webkit-scrollbar-thumb,
.modern-comments-list::-webkit-scrollbar-thumb,
.modern-hidden-list::-webkit-scrollbar-thumb,
.modern-views-list::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 2px;
}

/* Asset item */
.modern-asset-item {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 12px;
  margin-bottom: 8px;
  transition: all 0.2s ease;
}

.modern-asset-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
}

.modern-asset-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.modern-asset-name {
  font-weight: 600;
  color: #e2e8f0;
  font-size: 13px;
  flex: 1;
}

.modern-asset-controls {
  display: flex;
  gap: 4px;
}

.modern-asset-opacity {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin-top: 8px;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Empty state */
.modern-empty-state {
  text-align: center;
  padding: 20px;
  color: rgba(255, 255, 255, 0.4);
  font-size: 12px;
}

/* ===============================
   IFC FILTERS
   =============================== */
.modern-ifc-filters {
  display: flex;
  flex-direction: column;
  gap: 6px;
  max-height: 400px;
  overflow-y: auto;
  padding-right: 4px;
}

.modern-ifc-category {
  margin-bottom: 4px;
}

.modern-ifc-category-title {
  font-size: 12px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
  padding-bottom: 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-ifc-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modern-ifc-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modern-ifc-checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.modern-ifc-color {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.modern-ifc-name {
  flex: 1;
  font-size: 13px;
  color: #e2e8f0;
}

/* ===============================
   POINT CLOUD SETTINGS
   =============================== */
.modern-btn-group-3 {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  margin-bottom: 8px;
}

.modern-slider-group {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 8px;
  align-items: center;
  margin-bottom: 10px;
  padding: 8px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
}

.modern-slider-group:hover {
  background: rgba(255, 255, 255, 0.05);
}

.modern-label-small {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.3px;
  min-width: 80px;
}

.modern-slider-small {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
}

.modern-slider-small::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.modern-slider-small::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 8px rgba(102, 126, 234, 0.5);
}

.modern-slider-small::-moz-range-thumb {
  width: 14px;
  height: 14px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.2s ease;
}

.modern-slider-small::-moz-range-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 3px 8px rgba(102, 126, 234, 0.5);
}

.modern-value-small {
  font-size: 12px;
  font-weight: 600;
  color: #667eea;
  min-width: 50px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* Divider with text for Point Cloud sections */
.modern-divider {
  display: flex;
  align-items: center;
  margin: 16px 0 12px 0;
}

.modern-divider::before,
.modern-divider::after {
  content: '';
  flex: 1;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modern-divider-text {
  padding: 0 12px;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===============================
   UTILITIES
   =============================== */
.hidden {
  display: none !important;
}

/* ===============================
   MODE INDICATORS
   =============================== */
.mode-indicator {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(102, 126, 234, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  z-index: 200;
  display: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideInDown 0.3s ease;
}

.mode-indicator.active {
  display: block;
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translate(-50%, -20px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

#hideModeIndicator.active {
  background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

#commentModeIndicator.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ===============================
   STATUS INDICATOR
   =============================== */
.status-indicator {
  position: fixed;
  bottom: 20px;
  right: 20px;
  background: rgba(26, 32, 44, 0.95);
  backdrop-filter: blur(10px);
  color: white;
  padding: 14px 24px;
  border-radius: 30px;
  font-weight: 600;
  font-size: 14px;
  z-index: 200;
  display: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  animation: slideInUp 0.3s ease;
}

@keyframes slideInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.status-indicator.success {
  background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
}

.status-indicator.error {
  background: linear-gradient(135deg, #ee0979 0%, #ff6a00 100%);
}

.status-indicator.warning {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

/* ===============================
   INFOBOX - COMPLETE WITH FIX
   =============================== */
#infoBoxCustom {
  position: absolute;
  top: 20px;
  right: 20px;
  max-width: 400px;
  max-height: 70vh;
  background: rgba(26, 32, 44, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 0;
  overflow-y: auto;
  z-index: 100;
  display: none;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

/* ✅ FIX: Make InfoBox visible when it has content */
#infoBoxCustom:not(:empty) {
  display: block !important;
  animation: slideInRight 0.3s ease-out;
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(20px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

#infoBoxCustom::-webkit-scrollbar {
  width: 6px;
}

#infoBoxCustom::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

/* Close button */
#infoBoxCustom .close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  z-index: 1000;
  line-height: 20px;
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: all 0.2s ease;
}

#infoBoxCustom .close-btn:hover {
  color: white;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(90deg);
}

/* BIM Property Table */
.bim-property-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  color: #e2e8f0;
}

.bim-header-row {
  background: rgba(102, 126, 234, 0.2);
  border-bottom: 2px solid #667eea;
}

.bim-header-cell {
  padding: 12px 15px;
  text-align: left;
  font-weight: 600;
  color: #667eea;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bim-category-row {
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: all 0.2s ease;
}

.bim-category-row:hover {
  background: rgba(255, 255, 255, 0.1);
}

.bim-category-cell {
  padding: 10px 15px;
  font-weight: 600;
  color: #a5b4fc;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.bim-expand-icon {
  display: inline-block;
  margin-right: 8px;
  font-size: 10px;
  transition: transform 0.2s ease;
}

.bim-property-row {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: background 0.2s ease;
}

.bim-property-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.bim-property-name {
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.bim-property-value {
  padding: 8px 15px;
  color: #e2e8f0;
  font-weight: 500;
  word-break: break-word;
}

.bim-property-value-na {
  padding: 8px 15px;
  color: rgba(255, 255, 255, 0.3);
  font-style: italic;
}

/* InfoBox size variations */
#infoBoxCustom.compact {
  max-height: 40vh;
}

#infoBoxCustom.medium {
  max-height: 55vh;
}

#infoBoxCustom.large {
  max-height: 70vh;
}

/* ===============================
   RESPONSIVE
   =============================== */
@media (max-width: 768px) {
  #toolbar {
    width: calc(100vw - 20px);
    left: 10px;
    right: 10px;
  }
  
  #infoBoxCustom {
    max-width: calc(100vw - 40px);
    right: 20px;
  }
}

/* ===============================
   iTwin Integration Styles
   Add to the END of your style.css
   =============================== */

/* iTwin Button Styling */
.modern-btn-itwin {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
  color: white !important;
  font-weight: 600 !important;
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3) !important;
}

.modern-btn-itwin:hover {
  background: linear-gradient(135deg, #7c8ef0 0%, #8a5ab8 100%) !important;
  box-shadow: 0 6px 16px rgba(102, 126, 234, 0.4) !important;
  transform: translateY(-1px);
}

.modern-btn-itwin:active {
  transform: translateY(0);
}

/* iTwin Asset Item Styling */
.modern-asset-item.modern-asset-itwin {
  background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
  border-left: 3px solid #667eea;
}

.modern-asset-item.modern-asset-itwin .modern-asset-name {
  color: #a5b4fc;
  font-weight: 600;
}

/* iTwin Input Fields - Monospace for IDs/Keys */
#iTwinShareKeyInput,
#iTwinModelIdInput {
  font-family: 'Courier New', Courier, monospace !important;
  font-size: 11px !important;
  letter-spacing: -0.5px;
}

/* Modern Hint Box Enhancement */
.modern-hint {
  background: rgba(102, 126, 234, 0.1);
  border-left: 3px solid #667eea;
  padding: 10px;
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
}

.modern-hint strong {
  color: #a5b4fc;
  font-weight: 600;
}
