/* =================================================================
   LOBBY PAGE STYLES
   Extracted from index.php inline styles
   ================================================================= */

/* Ultra-compact option layout */
.hexchess-options-compact {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin-top: 4px;
}

/* Single line option with checkbox inside */
.option-compact {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  padding: 6px 10px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.option-compact:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
}

.option-compact input[type="checkbox"] {
  margin: 0;
  width: 14px;
  height: 14px;
  cursor: pointer;
  flex-shrink: 0;
}

.option-text {
  flex: 1;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.95);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Minimal help button */
.help-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  min-width: 15px;
  background: rgba(102, 126, 234, 0.4);
  border: 1px solid rgba(102, 126, 234, 0.6);
  border-radius: 50%;
  color: white;
  font-size: 9px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.15s ease;
  padding: 0;
  line-height: 1;
  flex-shrink: 0;
}

.help-btn:hover {
  background: rgba(102, 126, 234, 0.6);
  transform: scale(1.1);
}

.help-btn:active {
  transform: scale(0.9);
}

/* Compact tooltip */
.tooltip-compact {
  margin-top: -2px;
  margin-bottom: 4px;
  padding: 8px 12px;
  background: rgba(102, 126, 234, 0.12);
  border: 1px solid rgba(102, 126, 234, 0.25);
  border-radius: 6px;
  font-size: 11px;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.8);
  animation: slideDown 0.15s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-3px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Form helper (for "Reset to Default" button) */
.form-helper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 5px;
}

.btn-reset {
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-reset:hover {
  background: rgba(255, 255, 255, 0.15);
  color: white;
}

/* Timer settings section */
.timer-settings {
  padding: 12px;
  margin-top: 10px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.timer-info {
  font-size: 13px;
  margin-bottom: 10px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

.form-row {
  display: flex;
  gap: 10px;
}

/* Mobile optimizations for lobby */
@media (max-width: 768px) {
  .hexchess-options-compact {
    gap: 4px;
  }
  
  .option-compact {
    padding: 5px 8px;
    gap: 5px;
  }
  
  .option-compact input[type="checkbox"] {
    width: 13px;
    height: 13px;
  }
  
  .option-text {
    font-size: 12px;
  }
  
  .help-btn {
    width: 14px;
    height: 14px;
    min-width: 14px;
    font-size: 9px;
  }
  
  .tooltip-compact {
    font-size: 10px;
    padding: 6px 8px;
  }
  
  .timer-settings {
    padding: 10px;
  }
  
  .timer-info {
    font-size: 11px;
  }
  
  .form-row {
    flex-direction: column;
  }
}
